ShieldX Toolly
Open a tool Donate
Home Home
Blog Blog
FAQ FAQ
Open a tool Donate
All guides
Beginner 3 min Web & Domain

HSTS Checker Guide

Verify Strict-Transport-Security headers

Sections
3
Level
Beginner
Read
3 min
Section 01

What is HSTS?

HTTP Strict-Transport-Security (HSTS) tells browsers to only connect via HTTPS for a specified period. Without HSTS, the first request to a site is sent over HTTP and can be intercepted before the redirect to HTTPS occurs.

HSTS is especially important for users who type "example.com" directly — the browser defaults to HTTP, creating a vulnerability window on every first visit.

Section 02

HSTS directives

                          Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

; max-age=31536000        — 1 year in seconds
; includeSubDomains       — apply to all subdomains
; preload                 — opt into browser HSTS preload lists
                        

WarningEnabling includeSubDomains affects every subdomain. If you have a subdomain that must run on HTTP (e.g., an internal tool), do not use includeSubDomains.

Section 03

HSTS preloading

The HSTS preload list is built into browsers (Chrome, Firefox, Safari). Domains on this list are forced to HTTPS before the first request is ever made, eliminating the initial HTTP vulnerability entirely.

TipBefore submitting to the preload list, ensure all subdomains work over HTTPS. Once preloaded, removal takes months — you cannot quickly undo it.

Put it into practice

Try HSTS Checker right now

Every concept in this guide is implemented in ShieldX. Open the tool, watch the network tab stay empty, and verify the security yourself.

Open HSTS Checker

No signup · No cookies · No cost · secure.toolly.site