| Add to Favorites | Print this Article |
How do I disable the private_html directory in order to only use the public_html directory?
In a Unix (e.g. FreeBSD) hosting environment, it is customary to have a separate folder for SSL enabled websites. This means is that there are actually two directories on the server for hosting your website:
- public_html – the standard "public" folder for non-SSL HTTP requests
- private_html – the standard "private" folder for SSL or HTTP requests (e.g. secure content)
While this is a standard practice, it forces account holders to duplicate any website pages, images and information that are served over both HTTP and HTTPS connections. These pages and information must reside in both the public_html an private_html directories on the server in order to prevent SSL message errors.
To make things easier, account holders are able to configure their website through the Control Panel so that both Public and Private files reside only in the public_html directory. To enable this feature for your website follow these steps:
Step 1: Login to DirectAdmin and Choose the "Domain Setup" Link

On the next page select the domain that you would like to make these changes for.
Step 2: Choose the Symbolic Link Option
On the page that displays the directory options, choose the second option at the bottom to Use a Symbolic Link for data in both directories, then click Save:

After making this change you will upload all files to your standard public_html directory.
For Further Assistance:
Please submit a support ticket through the Client Portal if you require further assistance or experience any issues.