Apache VirtualHost help

my server has 2 ip addresses, and i currently have drhealysdiet.net going to 66.90.103.215. I'm trying to make tehw00t.net go to my second ip, 66.90.103.235, and in the httpd.conf I have:

######################
DocumentRoot "c:/web"

NameVirtualHost *


ServerAdmin g87andres@gmail.com
DocumentRoot C:/web/drhealysdiet
ServerName www.drhealysdiet.net



DocumentRoot C:/web/tehw00t
ServerName www.tehw00t.net

######################

drhealysdiet.net works fine, but tehw00t.net gives me a 404 error.

im not sure what's wrong

If i put tehw00t.net's DocumentRoot to c:/web , it works (meaning it'll show drhealysdiet.net content).


I get a 404 error when I try to access either domain.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories