Results 1 to 3 of 3
Feb 17, 2002, 13:45 #1
- Join Date
- May 2001
- 0 Post(s)
- 0 Thread(s)
I have an Apache Web Server running here on my computer and I'm trying to get cirtualhost to work, but everywhere I post a message, someone replies but it never works. So I'm going to try here.
This is what I want..
184.108.40.206 - My default website
220.127.116.11:80 - My Port 80 Secondary Site
This is what I have gotten so far from posts on other forums:
# You don't need to specify port 80 below
DocumentRoot "C:\program files\apache group\apache\htdocs"
DocumentRoot "C:\program files\apache group\apache\www2"
And this is my results:
When I got to: 18.104.22.168 it loads my site fine.
But hwen I go to: 22.214.171.124:80 it loads my site but it loads the 126.96.36.199 site instead of the port 80 website. I have also noticed that when I change the DocumentRoot for the 188.8.131.52 virtualhost it doesn't even effect it. It still uses the DocumentRoot from the other one (the one not inside of the virtualhost.)
Can anyone help me with this? Thanks
Oh and I did replace 184.108.40.206 with my real ip address. I'd rather not give out my real one right now.
Last edited by Chad; Feb 17, 2002 at 13:51.Chad Crouch