Create account Login Webmail Contact Us



 
Knowledgebase: Apache / PHP Issues
Wildcard Subdomain hosting
Posted by Mike C. on 12 September 2009 12:22 AM
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.
(620 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: