Automatically add site URLs

Discussion in 'Site & Server Administration' started by dcole07, May 4, 2006.

  1. #1
    How can I have subdomains automatically added to IIS??

    or how is there a way with Fedora Core 5??

    I need a way so people can get a subdomain off my URL without me doing it by hand... though a form that runs a bat file or some program..
     
    dcole07, May 4, 2006 IP
  2. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you enlighten me a little more about your problem,

    was it adding a url or adding a subdomain?
     
    theblight, May 5, 2006 IP
  3. dcole07

    dcole07 Peon

    Messages:
    135
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Where you fill out a form and it creates and account for you, then it adds your URL to the server... Right now I have blah.blah/SITE but I want to add the SITE as a subdomain but IIS has to do it, so is there a script to make IIS do it, so I don't have to by hand.

    Right now I have to open IIS, click create website and add the website they want.
     
    dcole07, May 6, 2006 IP
  4. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you can setup a catch all apache entry such as *.domain.com then create an entry to your .htaccess that will point it to the right content

    Hope it helps
     
    theblight, May 8, 2006 IP
  5. plumsauce

    plumsauce Peon

    Messages:
    310
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    In either one you need wildcard dns.

    In IIS just set up a site that has a blank host header and have it listen on a single ip. Everything showing up on that ip will be handled by that site.
     
    plumsauce, May 8, 2006 IP