Forums / General Questions / changing domain name in XP for Zen store

changing domain name in XP for Zen store

Locked

Views: 1,267

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Aug 2008, 12:35 PM
#1
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

changing domain name in XP for Zen store

Hi,
I have a test version of Zen cart localy on my pc. When installing zen cart I had to make a domain in Windows XP. In my map :C: \WINDOWS\system32
drivers\etc\hosts , I did this by inserting my domain with the following code:

127.0.0.1 http://www.example.com # For browser access
127.0.0.1 mail.example.com # For email access
127.0.0.1 example.com # For mercury mail server

So far everything worked just fine , but then I wanted to change the domain name again to my real domain and not something like example.com...
I did this in C: \WINDOWS\system32\drivers\etc\hosts ,by inserting this code :

127.0.0.1 http://www.myrealdomain.com # For browser access
127.0.0.1 mail.myrealdomain.com # For email access
127.0.0.1 myrealdomain.com # For mercury mail server

When I now go to https://www.myrealdomain.com I am well connected to
https://www.myrealdomain.com/store in my browser, but when I click on one of the links of my home page, I am redirected to the old url (https://www.example.com)

Can anyone help me with this one?

23 Aug 2008, 1:17 PM
#2
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: changing domain name in XP for Zen store

did you change the DOMAIN in your two configure.php files, ones in /admin/includes and the other is /includes/

pete

23 Aug 2008, 2:38 PM
#3
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: changing domain name in XP for Zen store

Thanx for sharing this
It works fine now:-)