All posts

What Is HTTPS and Why Your Site Needs It

What the padlock actually protects, why browsers punish HTTP sites, and how to set up free HTTPS with auto-renewal.

MU

Muhammad Usman

April 28, 2026 · 2 min read

Animated diagram: What Is HTTPS and Why Your Site Needs It

HTTPS encrypts the connection between your visitor and your website, so nobody in between, on public wifi, at the ISP, anywhere on the route, can read or modify what is sent. Passwords, card details, even which buttons are clicked.

Why it is not optional anymore

  • Browsers mark plain HTTP sites as Not Secure right next to your domain name
  • Google ranks HTTPS sites higher, and HTTP referral data is stripped
  • Modern features require it: camera, geolocation, payment APIs, service workers
  • Forms on HTTP pages can be silently read and altered by anyone on the network

Getting it for free

On platforms like Vercel or Netlify, HTTPS is automatic, nothing to do. On your own server, Let’s Encrypt gives free certificates with auto-renewal:

# Ubuntu + Nginx: free certificate in two commands
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com

# Renewal is automatic; verify the timer:
systemctl list-timers | grep certbot

Redirect HTTP to HTTPS permanently

# Nginx
server {
  listen 80;
  server_name yourdomain.com www.yourdomain.com;
  return 301 https://yourdomain.com$request_uri;
}

One permanent redirect, and every old HTTP link, bookmark, and search result lands safely on the encrypted version. There is no good reason to run a site without HTTPS in 2026.

Frequently asked questions

Is SSL and HTTPS the same thing?+

In everyday language yes. SSL is the old protocol name, TLS is the current one, and HTTPS is HTTP running over that encrypted layer.

Does HTTPS make my website slow?+

No. The overhead is negligible on modern servers, and HTTPS unlocks HTTP/2 and HTTP/3 which usually make sites faster than HTTP ever was.

Do I need to buy a certificate?+

Almost never. Let’s Encrypt certificates are free, trusted by every browser, and renew automatically. Paid certificates add insurance and validation levels most sites do not need.

More posts