Skip to content

Instantly share code, notes, and snippets.

@cherring
Created October 5, 2010 05:15
Show Gist options
  • Save cherring/611032 to your computer and use it in GitHub Desktop.
Save cherring/611032 to your computer and use it in GitHub Desktop.
So I have domain.com, and want to be able to access account.domain.com as a way of doing Account keys. That part was easy.
But I also want to have staging.domain.com to have my staging environment and need to be able to resolve account.staging.domain.com to get accounts on my staging server, at first I screwed this up by doing an A record for staging and one for *.staging.
All I actually needed was an A record for domain.com, and one for *.domain.com and covers everything, so that's what I have now.
@dalizard
Copy link

dalizard commented Oct 5, 2010

I see. One thing to keep in mind though - try to limit wildcards as much as possible :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment