Security help › Websites and servers
Turn on the padlock (HTTPS)
A step-by-step guide for Website owners, with fixes for common problems.
Steps
- Most hosts (Railway, Netlify, Vercel, cPanel hosts, Cloudflare) turn HTTPS on with one switch. Look for "SSL", "HTTPS" or "Certificates" in your host's settings.
- On your own Linux server with Nginx: sudo apt install certbot python3-certbot-nginx, then sudo certbot --nginx -d yourdomain -d www.yourdomain.
- Make sure http:// sends people to https:// (certbot offers this; hosts usually have an "Always use HTTPS" switch).
- Check automatic renewal works: sudo certbot renew --dry-run.
What you should see
The browser shows a padlock and the free outside check says "The padlock is valid".
Common problems
- "Certificate doesn't match" The certificate doesn't cover the exact name visitors use (with or without www). Add both names.