Results 1 to 3 of 3
I have this setup
Code:
<VirtualHost *&#58;80>
ServerName fdd.no-ip.com
DocumentRoot /opt/lampp/htdocs/
</VirtualHost>
<VirtualHost *&#58;80>
ServerName beavers.no-ip.biz
DocumentRoot /opt/lampp/htdocs/beavers
</VirtualHost>
But when you go to beavers.no-ip.biz it points to the wrong ...
- 02-24-2005 #1Just Joined!
- Join Date
- Aug 2004
- Location
- SLC, UT
- Posts
- 67
Apache Name Server (Virtual Host) Issues
I have this setup
But when you go to beavers.no-ip.biz it points to the wrong directory.Code:<VirtualHost *:80> ServerName fdd.no-ip.com DocumentRoot /opt/lampp/htdocs/ </VirtualHost> <VirtualHost *:80> ServerName beavers.no-ip.biz DocumentRoot /opt/lampp/htdocs/beavers </VirtualHost>
What am I doing wrong?
- 02-24-2005 #2Linux User
- Join Date
- Feb 2005
- Posts
- 290
http://httpd.apache.org/docs-2.0/vhosts/name-based.html
did you include the "NameVirtualHost" directive as well?
- 02-25-2005 #3
Mine only worked like this for some reason
<VirtualHost www.4x4specialty.com:80>
And this is the set up
NameVirtualHost 63.43.52.144:80 #IP is fake here for example sake
I hope this helps
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds


Reply With Quote