#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    14
    Rep Power
    0

    Angry 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??
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> 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.

IMN logo majestic logo threadwatch logo seochat tools logo