Zen Cart Logo
Forums / Installing on a Windows Server / Trouble setting up a local domain

Trouble setting up a local domain

Locked

Views: 1,995

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Jan 2010, 10:07 AM
#1
pradeeppailoor avatar

pradeeppailoor

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Trouble setting up a local domain

**I am brand new to Zen Cart. This is my first time setting up a shopping cart type site, am in the process of setting everything up on my local computer for testing. I am running Windows 7 for my OS. When I go to http://localhost in my browser I get the XAMPP for windows page .

I am now to the point of setting up a local domain. I edited the file located at c:\WINDOWS\system32\drivers\etc\hosts adding the following lines to the end of the file:

127.0.0.1 https://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

I also modified the file at <xampp-home>apache/conf/httpd.conf with the following value:

ServerName www.example.com:80

When I go to the local domain page, it is still looking to the internet and not to my local computer(xampp).
please help me out............

Thanks
Pradeep**

18 Jan 2010, 10:23 AM
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Trouble setting up a local domain

Try restarting your PC and see if the changes take effect.

18 Jan 2010, 11:01 AM
#3
pradeeppailoor avatar

pradeeppailoor

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: Trouble setting up a local domain

i did that,,but it is the same!!!

18 Jan 2010, 11:08 AM
#4
pradeeppailoor avatar

pradeeppailoor

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: Trouble setting up a local domain

Actually i couldnt save(it was denying to save the file) after editing in the host (c:\WINDOWS\system32\drivers\etc\hosts),saved in desktop and copied back to the file,deleted the original host file.but still not able to browse.

18 Jan 2010, 11:10 AM
#5
pradeeppailoor avatar

pradeeppailoor

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: Trouble setting up a local domain

canopy:

Try restarting your PC and see if the changes take effect.
restarted my pc,but still the same!!
Actually i couldnt save(it was denying to save the file) after editing in the host (c:\WINDOWS\system32\drivers\etc\hosts),saved in desktop and copied back to the file,deleted the original host file.but still not able to browse.

19 Jan 2010, 3:15 AM
#6
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Trouble setting up a local domain

Editing the hosts file in Windows 7 and Vista is different from Windows XP.

Here's a link to an article that might help.

19 Jan 2010, 10:57 AM
#7
pradeeppailoor avatar

pradeeppailoor

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: Trouble setting up a local domain

i could save the hosts file...
but still not able to browse local domain.
please help

25 Jan 2010, 8:25 PM
#8
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Trouble setting up a local domain

Hang in there Dude! You'll Love ZC once you get it done! :hug: