Stopping addon domain from being accessible from main domain?


Recommended Posts


I have multiple domains setup through hawkhost and they are all working fine. However, I would like to make it so that my addon domains are not accessible from my main domain.

My setup: -> public_html -> public_html/1staddondomain -> public_html/2ndaddondomain -> public_html/3rdaddondomain

All are accessible through their respective .com addresses, which is normal.

But, I can access my addon domains like this:

which I don't want to be able to do. Is it possible to stop this?



Link to comment
Share on other sites

Yes it is when you add an add-on domain it asks you where you want to store it and by default it does public_html/ . You can store it as strictly or even a bunch of sub folders like domains/blogs/ or name the folder anything you want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.