Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

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.


Was this answer helpful?

Add to Favourites
Print this Article

Also Read
How Do I Change PHP Setting X? (Views: 228)
How do I increase the PHP Memory Limit? (Views: 275)
How do I use PHP5? (Views: 262)
500 Error (Views: 269)
How do I increase the PHP Upload Limit? (Views: 260)

Powered by WHMCompleteSolution


Language: