AdamJBaldwin
2003-10-02, 20:47 PM
I am having a lot of trouble with Apache recognizing a name-based virtual domain as just that. I have a default domain, and I registered it with serverbeach's DNS servers. My resolv.conf says that geekjam.com is my main server, and that it is communicating with serverbeach DNS.
I am using geekjam.com right now ONLY as a forwarder to my IP. So whenever I create a virtual domain, for example reblood.com, I get a "forbiddden cannot access / on this server" and it says reblood at the host on the bottom of the screen.
I am lost, because I read the Apache virtual hosting chapter in my book and followed everything it said.
So basically I have 2 domains pointing to my IP which is serving from /var/www, and when I create a virtual server in webmin, I get a "forbidden cannot access /" error.
So I am wondering if anyone knows how to set up a main domain that points to /var/www, and other virtual hosts that point to the paths I choose. Everything is propogated, and I cannot seem to get webmin to see these as name-based domains, but simply DNS redirections.
Help?
Thanks
Here is a picture of what I am entering in webmin:
http://www.adambaldwin.net/Webmin.gif
I am using geekjam.com right now ONLY as a forwarder to my IP. So whenever I create a virtual domain, for example reblood.com, I get a "forbiddden cannot access / on this server" and it says reblood at the host on the bottom of the screen.
I am lost, because I read the Apache virtual hosting chapter in my book and followed everything it said.
So basically I have 2 domains pointing to my IP which is serving from /var/www, and when I create a virtual server in webmin, I get a "forbidden cannot access /" error.
So I am wondering if anyone knows how to set up a main domain that points to /var/www, and other virtual hosts that point to the paths I choose. Everything is propogated, and I cannot seem to get webmin to see these as name-based domains, but simply DNS redirections.
Help?
Thanks
Here is a picture of what I am entering in webmin:
http://www.adambaldwin.net/Webmin.gif