DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

TLS for web, email and FTP

DirectAdmin uses SNI so one server can provide the correct certificate for different customer domains. The certificate must include the exact name used by the client.

Recommended service names

ServiceNameSecure port
Webexample.com and www.example.com443
IMAPmail.example.com993
SMTPmail.example.com465 or 587 with STARTTLS
POP3mail.example.com995
FTPSftp.example.com21 with explicit TLS

Use mail. plus the customer's domain for email, and ftp. plus their domain for FTP. The server hostname is an email alternative and is used for SSH/SFTP; normal FTPS should use the domain name for SNI.

Wildcard service coverage

The root-domain and *.example.com certificate automatically covers mail and ftp; they do not require separate issuance. Their DNS records must still exist and clients must use the exact domain name.

SFTP is not FTPS

SFTP uses SSH and is available only to the main DirectAdmin account with SSH enabled. It does not use the FTP-service certificate. Additional FTP accounts connect with FTP/FTPS to ftp.example.com.

Certificate warning

Do not ignore it. Check the exact client hostname, date and names in the certificate. If the correct domain name is in use, send support a screenshot and attempt time.

Back to chapter overviewContact Euroserver support