How to Install a Free SSL Certificate in DirectAdmin
Published on July 23, 2026
An SSL certificate encrypts the connection between your website and its visitors. This allows your website to be accessed securely over HTTPS. DirectAdmin lets you easily install a free SSL certificate from Let’s Encrypt. DirectAdmin will then renew the certificate automatically.
Note Make sure your domain and every subdomain you want to secure point to the IP address of your hosting package through their DNS settings. If you recently changed the DNS settings, wait until the changes have fully propagated before requesting the certificate.
Installing a free SSL certificate
- Log in to DirectAdmin.
- Use the domain selector at the top of the page to make sure the correct domain is selected.
- Under Account Manager, open the SSL Certificates page.
- Select Get automatic certificate from ACME Provider.
- Select Let’s Encrypt under ACME Provider.
- Under Certificate Entries, select your domain and its
wwwsubdomain if both point to the same hosting package. - Select any additional subdomains you want to secure with the certificate, such as
mailandsmtp. - Click SAVE and wait for DirectAdmin to confirm that the certificate was requested successfully.
Tip After requesting the certificate, check whether your domain loads over HTTPS in your browser. Does your browser still indicate that the connection is not secure? Cached data may be the cause. Check the website in a private browsing window and/or with an SSL test.
Automatically redirecting your website to HTTPS
Your website may still be accessible over HTTP after installing the certificate. Configure an automatic HTTPS redirect to ensure visitors always use the secure connection.
- Under Account Manager, open the Domains page.
- Click the domain for which you installed the SSL certificate.
- Enable Force SSL with https redirect.
- Under Force Redirect, select the domain variant you want to use if necessary:
- No redirect preserves the domain used by the visitor, with or without
www; - www.example.com redirects visitors to the domain with
www; - example.com redirects visitors to the domain without
www.
- Click Modify to save the changes.
Now open http://example.com. Your browser should automatically redirect you to the HTTPS version of your website.
SSL certificate request fails
If the certificate request fails, check the following:
- Did you recently change the DNS settings or register the domain? Wait until the DNS has fully propagated before trying again.
- Make sure the domain’s A record points to the IPv4 address of your hosting package.
- If the domain has an AAAA record, make sure it points to the correct IPv6 address. An outdated or incorrect AAAA record can cause the request to fail.
- Check the DNS settings of every selected subdomain. Remove any subdomains that do not point to the hosting package from the request.