Knowledgebase

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:

  1. public_html – the standard "public" folder for non-SSL HTTP requests
  2. 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

Step 1: Select the Domain Setup Option

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:

Step 2 - Choose the Symbolic Link option

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.  

For Further Assistance:

Please submit a support ticket through the Client Portal if you require further assistance or experience any issues.

Was this answer helpful?

Top of Page

877-M2-Network
(877-626-3896)