Knowledgebase
Portal Home > Knowledgebase > Apache / PHP Issues > Wildcard Subdomain hosting
Wildcard Subdomain hosting
| To do this you need to do 2 things:
1) Create a wildcard DNS subdomain entry for the domain To do this, just fire up the DNS editor for the domain in question and put in the following: *.domain.com. 14400 IN A ip.the.site.is.on
Of course replace domain.com. with the domain you are working on (don't forget the . at the end!) And replace ip.the.site.is.on with the IP your site is hosted on. (There should already be 2 A records there that will show you this, one for ftp and one for the site itself).
2) Open a ticket and have us add the following to httpd.conf entry for that site: ServerAlias *.domain.com
Of course replace domain.com with your domain.
That is all that needs to be done.
|
Add to Favourites
Print this Article
|
Also Read
500 Error (Views: 32)
Powered by WHMCompleteSolution