Wildcard DNS and subdomains

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #1

    Wildcard DNS and subdomains

    I'm just wondering if anyone has managed to setup wildcard DNS for subdomains here on Dathorn?
    I'm not even sure if it's possible in all honesty but just thought i would ask for arguements sake.

    My new improved website would work nicely with some wildcard system in place and i did find a small tutorial thing on how to add the DNS entry (http://photomatt.net/2003/10/10/wild...d-sub-domains/) but i don't know if i have to wait for that to propogate as it doesn't seem to work at the moment

    Any ideas/suggestions/input/comments/advice/abuse are/is welcome

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    Just so those who look at this are aware, i got this working.

    A trouble ticket to support helped.
    You have to edit the <virtualhost> container inside httpd.conf to include *.domain.com under ServerAlias, like so:
    Code:
    ServerAlias www.domain.com *.domain.com
    I then wrote some code, to work from within a .htaccess file, to rewrite subdomains to user.php?username=$subdomain
    Works like a charm

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • -Oz-
      Senior Member
      • Mar 2004
      • 545

      #3
      how did you edit the httpd.conf file?
      Dan Blomberg

      Comment

      • sdjl
        Senior Member
        • Mar 2004
        • 502

        #4
        I didn't. It's something Andrew had to do

        David
        -----
        Do you fear the obsolescence of the metanarrative apparatus of legitimation?

        Comment

        Working...