If Using NexusHost Hosting
SSL certificates ordered through NexusHost are auto-installed on our hosting instances. No manual steps required!
Download Your Certificate
Installation on Apache
Edit your Apache virtual host configuration:
<VirtualHost *:443>
ServerName yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/certificate.crt
SSLCertificateKeyFile /path/to/private.key
SSLCertificateChainFile /path/to/ca-bundle.crt
</VirtualHost>
Restart Apache: sudo systemctl restart apache2
Installation on Nginx
Edit your Nginx server block:
server {
listen 443 ssl;
server_name yourdomain.com;
ssl_certificate /path/to/certificate.crt;
ssl_certificate_key /path/to/private.key;
}
Restart Nginx: sudo systemctl restart nginx
Installation on cPanel
Installation on Plesk
Force HTTPS Redirect
After installing SSL, redirect all HTTP traffic to HTTPS.
Apache (.htaccess):
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Nginx:
server {
listen 80;
server_name yourdomain.com;
return 301 https://$server_name$request_uri;
}
Verify Installation
After installation, verify your SSL at: