--- title: HTTP vs HTTPS description: HTTP transfers web pages; HTTPS adds SSL/TLS encryption. Why HTTPS is the default and how to migrate safely. canonical: https://penasihathosting.com/en/hosting-wiki/http-vs-https type: wiki locale: en updated: 2026-07-15 author: Willya Randika --- # HTTP vs HTTPS ## Overview - **Summary:** HTTP transfers web pages; HTTPS adds SSL/TLS encryption. Why HTTPS is the default and how to migrate safely. - **Author:** Willya Randika ([profile](/penulis/willya-randika)) ## Article **HTTP** is the basic protocol for transferring web pages. **HTTPS** is HTTP over [SSL/TLS](/en/hosting-wiki/ssl-tls) — data between browser and server is encrypted in transit. Modern browsers show a padlock for HTTPS and often label HTTP as “Not Secure.” For public sites today, HTTPS is effectively the default: user trust, login forms, payments, SEO, and many browser features expect it. HTTP may still appear for certificate challenges or redirects, but primary content should be served over HTTPS. ## A Simple Analogy HTTP is like mailing an open postcard. HTTPS is like mailing a letter inside a vault only the real endpoints can open. The message can be identical; exposure on the road is not — especially on cafe Wi-Fi or shared networks. ## What HTTPS Changes - Encryption in transit (harder to snoop) - Integrity (mid-path tampering is easier to detect) - Server identity via certificates (for example [Let’s Encrypt](/en/hosting-wiki/lets-encrypt)) - Requirements for some browser APIs in a secure context - A friendlier search ranking signal than plain HTTP HTTPS does **not** automatically make application code immune to SQL injection, XSS, or outdated plugins. App security remains a separate job. ## HTTP → HTTPS Migration Checklist 1. Install a valid certificate on every hostname you use 2. Force 301 redirects from `http://` to `https://` via [.htaccess](/en/hosting-wiki/htaccess) or the panel 3. Update canonical URLs in the CMS and internal links 4. Clean mixed content (assets still on `http://`) 5. Refresh sitemaps and watch Search Console ## What to Watch For - Expired certificates trigger scary browser warnings - Cover both `www` and apex when both are active - Behind a CDN, align origin SSL mode - HSTS helps after HTTPS is stable on every path ## FAQ Technically possible, but poor for trust and modern features. Logins and forms should be HTTPS. Modern overhead is tiny; security and trust benefits are far larger. Usually mixed content: images, fonts, or scripts still loading over http. For most sites, Let’s Encrypt is enough. See the SSL/TLS and Let’s Encrypt articles.