Created
January 7, 2012 01:48
-
-
Save palexander/1573441 to your computer and use it in GitHub Desktop.
Wildcard subdomain setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Two new A records | |
*.stage.bioontology.org 171.67.213.48 | |
*.bioportal.bioontology.org 171.67.213.45 | |
### Apache configuration | |
# | |
# Your VirtualHosts section | |
# | |
NameVirtualHost 1.2.3.4 | |
## | |
# this one accepts any subdomain | |
## | |
<VirtualHost 11.22.33.44> | |
DocumentRoot /www/subdomain | |
ServerName www.domain.tld | |
ServerAlias *.domain.tld | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment