How to install a SSL certificate using DirectAdmin

Tommyhara

Verified User
Joined
Jul 25, 2014
Messages
187
I want to use free SSL from Cloudflare for my websites and using Directadmin to setup. How can I do that? any guide?
 
Hello,

If you've got a cert and a key and want to add them into Directadmin follow the instructions from the guide: http://site-helper.com/ssl.html#install. Skip steps #1 and #2 and start from Step #3: Install the Certificate.

Thanks zEitEr for the link and guide!

I found a same question here http://forumweb.hosting/15217-how-to-install-a-ssl-certificate-in-directadmin.html and I have same question about the final step "Uploading Files to your Secure Site".

All secure files need to be uploaded to the /domains/domain.com/private_html directory. You may upload using the control panel's built-in file manager or FTP. For example,

/domains/domain.com/private_html/index.html ---> https://www.yourdomain.com/index.html
/domains/domain.com/private_html/secure/index.html ---> https://www.yourdomain.com/secure/index.html

The private_html directory operates the exact same way as the public_html directory.

Note: You will not see a private_html directory if the SSL feature isn't enabled on your account.
Do I need to move my website files to the folder secure folder? this making me confused
or just using my current website data in public_html as before moving to https?
 
Last edited:
That depends on your goals. If you don't need separate content for HTTP and HTTPS, then use a symbolic link from private_html to public_html.
 
That depends on your goals. If you don't need separate content for HTTP and HTTPS, then use a symbolic link from private_html to public_html.

Thanks zEitEr but my goal is not change anything on public_html and files/data there. I only need to have https for my site.
So, I should keep public_html as what I am using now?
 
To use a private_html link pointing to public_html you should log in to your DirectAdmin account, click on Domain Setup, click on your domain name and select the option "Use a symbolic link from private_html to public_html - allows for same data in http and https".
 
Back
Top