| Portal Home | Client Area | Announcements | Knowledgebase | Support Tickets | Downloads |
Knowledgebase
You are here: Portal Home > Knowledgebase > PHP > 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. |
Powered by WHMCompleteSolution