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 files:
- public_html – the standard "public" folder for non-SSL HTTP requests
- private_html – the standard "private" folder for SSL or HTTPS requests (e.g. secure content)
While this has been a standard practice, it forces account holders to duplicate any website pages, images and information that are served over both HTTP and HTTPS connections. Pages and information must reside in both the public_html and private_html directories on the server in order to prevent any SSL errors.
To make things easier to manage, users are able to configure their domain through the Control Panel so that both Public and Private files reside 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 following 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.
Please Note: Before you choose this option, please ensure that your pages, images and data within the private_html directory have been moved to your public_html directory. This process deletes everything within the private_html folder.