Answers for "different root directory main domain and subdomain cpanel"

1

different root directory main domain and subdomain cpanel

to make the subdomain directory different from the main domain directory. example:
mydomain.com = /home/USERNAME/public_html
foo.mydomain.com = /home/USERNAME/sub_domain_dir/

you can follow this step:

1. login to WHM,
2. find "Server Configuration" >> "Tweak Settings",
3. turn off option "Restrict document roots to public_html",
4. save.

1. login to cpanel,
2. make your subdomain, and place your own subdomain directory
3. save
Posted by: Guest on July-20-2021

Code answers related to "different root directory main domain and subdomain cpanel"

Browse Popular Code Answers by Language