[thelist] Virtualhosts on Windows apache

PeterV peter at poorbuthappy.com
Sun Apr 25 16:22:00 CDT 2004


Hi,
I have installed Apache on my Win XP machine. 

My hosts file settings and httpd.conf settings are below. I am trying to
get some virtual domains going, but it doesn't seem to work.

What I see:
===========
http://localhost works.
http://127.0.0.1 works as well.
http://taxomita.dev does not work, and it should...

If I open a commandline:
Ping localhost works
Ping taxomita.dev does not work, and it should...

Any ideas on where to start debugging would be very welcome! I'm still a
beginner at this... I don't even know what that ping information really
means...

My settings:
===========
Hosts file:

127.0.0.1       taxomita.dev
127.0.0.1       localhost
# Start of entries inserted by Spybot - Search & Destroy
127.0.0.1       images.real.com
127.0.0.1       real.com
127.0.0.1       ct5.hypercount.com
....

Httpd.conf file: (relevant settings)

BindAddress *
Port 80
ServerName localhost
DocumentRoot "C:/"
Listen 80
Listen 9000
NameVirtualHost *
<VirtualHost *>
    ServerAdmin peter at poorbuthappy.com
    DocumentRoot C:/testapache/taxomita.dev/
    ServerName taxomita.dev
    ErrorLog logs/tgc_error
    CustomLog logs/tgc_access common
</VirtualHost>
<VirtualHost *>
    ServerAdmin peter at poorbuthappy.com
    DocumentRoot C:/testapache/
    ServerName localhost
    ErrorLog logs/tgc_error
    CustomLog logs/tgc_access common
</VirtualHost>



Thanks!
Peter






More information about the thelist mailing list