Site5 - Built For Designers & Developers MENU

How can I put an account’s main domain files into a subdirectory of public_html?

[2 Grey Star Level]

I know that I can put the files of add on domains into subdirectories of public_html. But I don’t like that this means I can see a subdomain’s files from the main domain as a folder.

For example, if my main account domain is “” then “public_html” holds all the files. I may have an add on domain “” in the folder “public_html/second” but then I can also reach these files via “”. I would like to put the files for into “public_html/prime” instead.

Any thoughts on how to accomplish this?

Comments are closed.

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Money Back Guarantees
Click to verify BBB accreditation and to see a BBB report.