httpd.conf/hosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

httpd.conf/hosts

Postby jedi » 18. March 2008 08:56

so i'm following this tutorial... and i installed xampp, and it was working all right, i went to the hosts file under the system32/drives/etc, and added the following at the bottom...

127.0.0.1 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

and apache was working fine... and when i went on example.com, it was the same as localhost...

but then it told me to configure the htppd.conf file under apache, and change servername from localhost:80 to www.example.com:80

then apache doesn't work. i don't know what they want to do with all those configurations (i'm setting up a website with zen cart), and i don't know if those configurations are necessary. but if they are, apache isn't working, and i know that's necessary. your help would be much appreciated.
jedi
 
Posts: 1
Joined: 18. March 2008 08:44

Postby LooseCannon » 19. March 2008 14:58

Hello and welcome jedi.

Have you configured the 'virtual hosts' for the different domains?

Search this forum and find lots of information thereon.
User avatar
LooseCannon
 
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 37 guests