Bobcares

DirectAdmin Hostname SSL | Installation Guide

PDF Header PDF Footer

Learn how to install SSL for the hostname on DirectAdmin. Our DirectAdmin Support team is here to help you with your questions and concerns.

Installing SSL for hostname on DirectAdmin

DirectAdmin is a popular web hosting control panel. It helps users with web hosting accounts, email accounts, databases, and other services on a web server. A key feature is its ability to configure SSL certificates for the server hostname.

Installing SSL for hostname on DirectAdmin

When we install DirectAdmin, it generates a self-signed SSL certificate automatically for the hostname of our server. Then, this SSL certificate is used to encrypt the connection between the client and the server when accessing DirectAdmin. Additionally, it is used by other services that use SSL, such as email and FTP.

How to install SSL for Hostname on DirectAdmin

Before we install SSL for the hostname on DirectAdmin, the following 3 conditions have to be satisfied:

  • The hostname domain has to point to the correct IP address of the VPS/Server.
  • Ensure the CAA record is configured to point to the IP. Furthermore, the tag has to be from letsencrypt.org.
  • The Hostname should not match any existing domain name on the server.

Once the above conditions are satisfied we can proceed with these steps:

  1. First, we have to access our VPS/server as root via SSH.
  2. Then, run the following commands to install SSL for HostnameDirectAdmin:
    # /usr/local/directadmin/scripts/letsencrypt.sh request_single labda.domaincuaban.com 4096
    # /usr/local/directadmin/directadmin set ssl_redirect_host sample.bobcares.com
    # service directadmin restart

    Here we have to replace sample.bobcares.com with our previously configured hostname.

  3. Now, it is time to reaccess the DirectAdmin login page with this link http://IP:2222 to verify the above steps were successful.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

To sum up, our Support Techs demonstrated how to install SSL for the hostname on DirectAdmin.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!