How to Install a Free SSL Certificate (Let's Encrypt)
SSL encrypts traffic between your site and visitors, is required for HTTPS, and improves search rankings.
Steps
- Log in to DirectAdmin → SSL Certificates → select your domain.
- Click Free & automatic certificate from Let's Encrypt.
- Tick your domain and the
wwwvariant. - Click Save.
Certificates are issued within minutes and renew automatically every 90 days.
Force HTTPS
Add to public_html/.htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Troubleshooting
- "Domain not pointing to this server" — ensure the A record points to this server's IP.
- "Rate limit exceeded" — Let's Encrypt allows ~5 cert requests per domain per week.