SSL & Security

What is HSTS Preload?
How to Enable Maximum HTTPS Security

📅 September 22, 2026 ⏱️ 10 min read 🔒 SSL & HTTPS Security
HSTS Preload for maximum HTTPS security

If you already have an SSL certificate installed and HTTP-to-HTTPS redirects in place, that is a strong foundation. But there is still one vulnerability: the very first HTTP request before the redirect happens. Attackers can exploit this window with SSL Strip or Man-in-the-Middle attacks.

HSTS Preload closes this gap entirely. This guide explains what it is, how it works, and how to get your domain added to the list that browsers worldwide use.

What is HSTS — The Basics

HTTP Strict Transport Security (HSTS) is a web server policy that tells browsers "this website uses HTTPS only" via the Strict-Transport-Security response header.

Once a browser receives this header, it remembers for the specified duration (max-age) that the domain requires HTTPS. Before sending any request, the browser automatically upgrades http:// to https:// without contacting the server.

💡 Example HSTS Header Strict-Transport-Security: max-age=31536000; includeSubDomains
max-age=31536000 = remember for 1 year (365 days)

What Does HSTS Protect Against?

What is HSTS Preload and How it Differs

Despite HSTS being excellent, it has one weakness called Trust On First Use (TOFU): the browser must visit the site over HTTPS at least once before it remembers to enforce HTTPS.

If the first visit happens over HTTP — such as typing a bare domain name or clicking an http:// link — the user is still at risk during that initial connection.

HSTS Preload solves this by embedding a list of HTTPS-only domains directly into browsers. No first visit required — browsers already know these domains require HTTPS before they are even installed.

FeatureRegular HSTSHSTS Preload
Requires first HTTPS visit✅ Required❌ Not required
Protects first visit❌ No✅ Yes
Built into browser❌✅ Hardcoded
Browser supportChrome, Firefox, Safari, EdgeChrome, Firefox, Safari, Edge, Opera
Easy to remove✅ Easy (remove header)❌ Difficult (takes time)
Covers subdomainsOptional (includeSubDomains)Mandatory (includeSubDomains)

How HSTS Preload Works

Chrome maintains the HSTS Preload List as an open-source project that all major browsers use. This list is embedded in browser source code as a file named transport_security_state_static.json.

  1. Website owners submit their domain at hstspreload.org
  2. The Chrome team verifies requirements (SSL + headers + subdomains)
  3. The domain is added to the list and merged into Chromium source
  4. When a new Chrome release ships, the updated list is distributed worldwide
  5. Firefox, Safari, and Edge pull the same list and use it
⚠️ Important Warning Once your domain is on the Preload List, browsers will block all HTTP connections — even from localhost or internal networks. If your SSL certificate expires or breaks, users will be completely locked out until it is fixed.

Requirements Before Submitting

hstspreload.org requires you to pass all 5 conditions before submission:

  1. Valid SSL certificate — not expired, issued by a trusted CA
  2. HTTP → HTTPS redirect — port 80 must redirect to HTTPS in all cases
  3. HTTPS must serve on port 443 directly
  4. HSTS header on HTTPS must include:
    • max-age ≥ 31,536,000 (1 year)
    • includeSubDomains
    • preload
  5. All subdomains must support HTTPS — e.g., www, mail, ftp must have SSL certificates
✅ Compliant Header Example Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Step-by-Step Submission Guide

Step 1 — Install an SSL Certificate

You need a valid SSL certificate on your main domain and all subdomains. Use Let's Encrypt (free) or a commercial certificate from a trusted CA.

Step 2 — Configure HTTP → HTTPS Redirect

On DirectAdmin hosting, add this to your .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Step 3 — Add the HSTS Header

# In .htaccess after the redirect block
Header always set Strict-Transport-Security \
  "max-age=31536000; includeSubDomains; preload"

Step 4 — Test at hstspreload.org

Open hstspreload.org, enter your domain, and click Check Eligibility. All requirements must pass before submitting.

Step 5 — Submit Your Domain

Click Submit on hstspreload.org and enter your email to receive status notifications.

Step 6 — Wait for Review

The Chrome team will review and merge into the list — typically 4-8 weeks before most users receive the update in a new Chrome release.

Complete .htaccess HSTS Configuration

Full Apache configuration for DirectAdmin hosting:

# Force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# HSTS Header (add preload when ready to submit)
<IfModule mod_headers.c>
  Header always set Strict-Transport-Security \
    "max-age=31536000; includeSubDomains; preload"
</IfModule>
💡 Recommended — Gradual Rollout Start with max-age=300 (5 minutes) to verify all subdomains support HTTPS, then gradually increase: 86400 (1 day) → 2592000 (1 month) → 31536000 (1 year) before submitting.

Comparing HTTPS Security Levels

LevelConfigurationProtects First VisitComplexity
Level 1SSL Certificate only❌Easy
Level 2SSL + HTTP→HTTPS Redirect❌Easy
Level 3SSL + Redirect + HSTS❌ (except 2nd+ visit)Medium
Level 4 ⭐SSL + Redirect + HSTS Preload✅High

Pros and Considerations

Advantages

Considerations

How to Remove Your Domain from the Preload List

To remove your domain, go to hstspreload.org/removal and:

  1. Remove the preload directive from your HSTS header on the server
  2. Submit a removal request at hstspreload.org/removal
  3. Wait for Chrome to release a new version that excludes your domain from the list
⚠️ Critical Note Even after submitting a removal request, older browsers that have not updated will continue enforcing HTTPS. This process can take 6 months to 1 year to fully propagate to all users.

Frequently Asked Questions

What is HSTS Preload?

HSTS Preload is a list hardcoded into major browsers like Chrome, Firefox, and Edge that forces all connections to listed domains to use HTTPS only — without waiting for an initial HTTP redirect.

What is the difference between HSTS and HSTS Preload?

Regular HSTS uses the Strict-Transport-Security header sent by your server — browsers remember it after the first HTTPS visit. HSTS Preload enforces HTTPS from the very first visit because the domain is baked into the browser before installation.

How long does HSTS Preload submission take?

Typically 1-3 months before your domain is included in a Chrome release used by most users, after submitting at hstspreload.org.

Can I remove my domain from the HSTS Preload List?

Yes, but it takes a very long time — potentially over a year. Make sure you can maintain HTTPS permanently before submitting.

Is HSTS Preload necessary for every website?

Not for every site. It is ideal for high-security sites like banking or login systems. Regular sites with SSL and HTTP-to-HTTPS redirects already have sufficient security for most use cases.

Does HSTS Preload cover subdomains?

Yes — the preload list requirement mandates the includeSubDomains directive, which automatically enforces HTTPS on all subdomains of your domain.

🔒 Summary — HSTS Preload

  • HSTS Preload = your domain is hardcoded in browsers to always use HTTPS
  • Protects from the very first visit — no TOFU vulnerability
  • Requirements: valid SSL + redirect + HSTS header with max-age ≥ 1 year + includeSubDomains + preload
  • Submit for free at hstspreload.org — but removal is difficult, so plan carefully
  • Best suited for high-security websites, not mandatory for all sites

Need an SSL Certificate for Your Website?

AsiaGB offers SSL certificates for every need — from affordable DV certificates to Wildcard and EV options for organizations. Free installation assistance on DirectAdmin.

View All SSL Options →