|
[WHM] If you get an error that your sub domains are not enabled, make sure that either you have wildcarded the domain name or enabled the sub domains in WHM
[Manual] Manual sub domain creation involve editting your apache configuration file. Edit your (httpd.conf) and add the following line:
Begin Line ---->
BytesLog domlogs/subdomain.maindomain.com-bytes_log User username Group groupname ServerName subdomain.maindomain.com ServerAdmin wwwadmin@maindomain.com DocumentRoot /path/to/your/subdomain/folder CustomLog domlogs/subdomain.maindomain.com combined ScriptAlias /cgi-bin/ /path/to/your/subdomain/folder/cgi-bin/
<----- End Line
Replace xxx.xxx.xxx.xxx with the account's IP address and replace subdomain with your subdomain name and maindomain with the main domain name.
Next you may want to add the sub domain to your dns zone file:
subdomain in A 14400 ipaddress
Knowledgebase by Byzhosting Networks | Host Jaguar Your Web Hosting and eBusiness Solutions
|
Add to Favourites
Print this Article
|