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
| Service | Name | Secure port |
|---|---|---|
| Web | example.com and www.example.com | 443 |
| IMAP | mail.example.com | 993 |
| SMTP | mail.example.com | 465 or 587 with STARTTLS |
| POP3 | mail.example.com | 995 |
| FTPS | ftp.example.com | 21 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.