How can I configure a domain name or subdomain to access DirectAdmin through the DirectAdmin settings?

Sharif

Verified User
Joined
May 21, 2021
Messages
44
I have configured a domain name to access DirectAdmin, but it only works over HTTP, not HTTPS. How can I set it up to use HTTPS and access DirectAdmin without using the IP address?

In DirectAdmin's settings, I was able to configure the domain name, but that resulted in HTTP access only. To enable secure HTTPS access and use the domain name instead of the IP, what additional steps do I need to take?
 
force_hostname=s8.hosting.ft
servername=server.s8.hosting.ft
ssl=1
ssl_redirect_host=s8.hosting.ft
 
That's hostname. For hostname to work with SSL you also have to request a hostname certificate for it. Command is everywhere on the forums and in the docs. Search for Letsenclrypt.

For the domain name you have to create the domain name and then request a LetsEncrypt SSL certificate for it.
When that is assigned, then you can access via HTTPS.

Other option is to enable AutoSSL.
Check the docs.directadmin.com site for that.
 
Back
Top