Hi,
I've looked around for solutions to this problem and haven't found any
answers. What I'm trying to do is have user subdomains. My free dns server
resolves all subdomains, for example anything.blahblah.mydomain.com to the
same IP address as mydomain.com. What I want to do is have
username.mydomain.com serve from /home/username/www and mydomain.com serve
from /var/www/html.
I tried changing my httpd.conf so that it has:
UseCanonicalName Off
and added:
VirtualDocumentRoot /home/%1/www
The problem is that the user pages work just fine, but the normal domain
mydomain.com no longer works. I just get a 404 error. As a bonus, I would
also like to have www.mydomain.com still serve from the same place as
mydomain.com. Is that possible?
If anyone knows how to make this work, your help would be greatly
appreciated.
Thanks,
Scott Webber
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
I've looked around for solutions to this problem and haven't found any
answers. What I'm trying to do is have user subdomains. My free dns server
resolves all subdomains, for example anything.blahblah.mydomain.com to the
same IP address as mydomain.com. What I want to do is have
username.mydomain.com serve from /home/username/www and mydomain.com serve
from /var/www/html.
I tried changing my httpd.conf so that it has:
UseCanonicalName Off
and added:
VirtualDocumentRoot /home/%1/www
The problem is that the user pages work just fine, but the normal domain
mydomain.com no longer works. I just get a 404 error. As a bonus, I would
also like to have www.mydomain.com still serve from the same place as
mydomain.com. Is that possible?
If anyone knows how to make this work, your help would be greatly
appreciated.
Thanks,
Scott Webber
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org