ServerTune

Browse by category

Search    |    Advanced search

HowTo :: change the DocumentRoot for a subdomain?

To change the local path for a subdomain, please click here and follow the instructions provided as a starting point, and then insert the following directives:

|*if SUB="YOUR_SUB_DOMAIN"|
|?DOCROOT=/the/new/path/you/want|
|*endif|

If you only wish to change the local path of the domain and not any ot its subdomains, use the following directive:

|*if !SUB|
|?DOCROOT=/the/new/path/you/want|
|*endif|

NOTE
Text in bold must be changed to suit your needs.

 
 
Add comment
 
Views: 1884
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS