Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Is it possible to set up a wildcard domain like "*"?

The main reason I'm asking is because I'm in the process of setting up Continuous Integration with Jenkins, and we'd like to automate the setting up of QA sites to test out specific branches of the codebase.

Say user A is working on a feature in a branch called 'awesome-feature-one', and user B is working on 'boring-code-cleanup'.

What I'd like to have is the DNS setup with something like '*' so that we have domains like '' and '' without having to set up a DNS record for each and every one.

This way, we don't have to bug our network admin each time we start working on a new feature, it's already set up and we just have to make sure our web server is set up to point them to the proper place -- ie, '' points to the folder /var/www/awesome-feature-one, etc, etc.

Lastly, part of the reason is that these sites use SSL, but our SSL cert is only set up to do wildcard for "*", so in order to set up wildcard for "*" we'd have to get another SSL cert ( which I may float as a solution if "*" won't work for DNS ).

So, is this possible, or am I looking at a pipe dream?

share|improve this question
Depending on the client, your wildcard SSL may work for multi level subdomains (ie * I do this with a wildcard for our highest domain ( then use it for site-specific services ( and have very little issue. – fukawi2 Oct 17 '13 at 2:58
up vote 3 down vote accepted

No. Wildcards in DNS entries are much more limited and only a wildcard like * would be possible. See RFC 1034 and RFC 4592.

share|improve this answer
Thanks for your answer! – Sean Hagen Oct 16 '13 at 22:45
Of course we are assuming a standard DNS server that doesn't do any magic. You could probably do something like this if you were using PowerDNS with the pipe backend and developed your own tool to perform the wildcard functionality. – Zoredache Oct 16 '13 at 23:17

Your Answer


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.