Websites & hosting

Free SSL with Let’s Encrypt (Certbot)

Add HTTPS to an Nginx or Apache site on your VPS. · 3 min read

Your domain must already point to the server (A record).

apt -y install certbot python3-certbot-nginx
certbot --nginx -d example.com -d www.example.com

For Apache use python3-certbot-apache and certbot --apache.

Certificates renew automatically. Test renewal:

certbot renew --dry-run
Order a server built by real engineers or talk to our team — we are online 24/7. Support →

Websites & hosting

All tutorials

Ready to launch your project?

Order a server built by real engineers or talk to our team — we are online 24/7.