Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know it's possible to use wildcards for subdomain aliases like:

ServerAlias *.domain.com

But is it possible to use that for domains having a the same subdomain?

# like this
ServerAlias subdomain.*.com
share|improve this question
up vote 7 down vote accepted

Yes, that should work - the rules for wildcards in ServerAlias don't need to worry about the rules that DNS wildcards follow.

share|improve this answer
    
Excellent, thank you! – bought777 Dec 4 '12 at 4:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.