Wildcard Subdomains, with exceptions

Discussion in 'Apache' started by markmiddleton, Jan 8, 2008.

  1. #1
    I've got a dedicated server, named-based virtual hosting with Plesk.

    There are a half-dozen "fixed" subdomains such as "search.mydomain.tld" that are "reserved", and won't be changing any time soon. (and if they do, i'm fine with updating the conf).

    I'd like to create a wildcard entry -> but only for those that don't have an entry already made.

    I've tried putting ServerAlias *.mydomain.tld in the virtualhost entry where I want the wildcardies to end up at, but as soon as I do that, it ONLY uses that virtual host record and ignores the rest (that makes sense to me why it does that... )

    I'm looking for a way to create a wildcard ServerAlias with a list of fixed exceptions...

    is this possible?

    Thank you for your kind help!

    -Mark
     
    markmiddleton, Jan 8, 2008 IP
  2. markmiddleton

    markmiddleton Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I found the answer - thank you for taking a look at my question.

    http://kb.swsoft.com/en/2239

     
    markmiddleton, Jan 8, 2008 IP