December 18th, 2001, 04:14 PM
Web hosting and DNS...?
Hi, it's me again! I am trying to host some web sites and I would like to have all the users web pages look like http://usersname.mydomain.com. But it is a pain to go to apache add the virtual host tag and all that, then go to the named file and add
usersname CNAME mydomain.com.
and then restart apache and named. Is there any other way to do this quickly??
December 18th, 2001, 09:55 PM
>> and add usersname CNAME mydomain.com.
There no longer is such thing as CNAME in DNS. So don't use CNAME if at all pssible. Do a search using the search keyword: CNAME in this forum under my username to see why.
>> Is there any other way to do this quickly??
You can enable wildcard in BIND. For Apache, you can check mod_vhost_alias. Or you can use include.
If you don't have a reliable DNS, just don't do all this. If you don't have more than several thousands of username.yourdomain.com, don't do this either.