mydnsreport.com
Free DNS Tools

HTTP Headers Checker

See the headers any website sends — status, redirects, caching and security.

HTTP Headers Checker

HTTP headers are the invisible instructions a website sends with every page: what to cache, whether to allow framing, whether to force HTTPS, and where to redirect. They decide how fast a site feels, how it behaves in browsers, and how much of it attackers can abuse. Enter a website below and this page fetches its headers, follows its redirects, and explains each header in plain English — including the security headers it is missing.

The check runs in your browser against free public DNS resolvers. Nothing you type is stored on this site. A grey “unreachable” result means the resolver did not answer within 10 seconds — press Check again; it does not mean your DNS is wrong.

What HTTP headers are

Every time a browser requests a page, the server answers with two parts: headers (invisible instructions) and the body (the page itself). Headers say what the content is, how long it may be cached, where to go instead (redirects), and which security rules apply. You never see them in normal browsing, but they decide how fast, how safe and how correct a site behaves.

Some headers are set by the server software, some by the application (WordPress, a framework), and some by the hosting panel. They can be changed in server configuration — Apache and LiteSpeed use .htaccess, Nginx uses its site config, and CDNs like Cloudflare add their own. Knowing which headers a site sends is the first step to fixing caching, redirect and security problems.

The four security headers every site should have

Strict-Transport-Security (HSTS): tells browsers to use HTTPS only for this domain for a set time. Without it, a visitor who types http:// can be downgraded to an unencrypted connection. Content-Security-Policy (CSP): a whitelist of where scripts, styles and images may load from — the strongest single defence against cross-site scripting.

X-Frame-Options: stops other sites embedding your pages in frames, which blocks clickjacking (tricking visitors into clicking something they cannot see). X-Content-Type-Options: nosniff stops browsers guessing content types, which blocks attacks that smuggle scripts inside files that look harmless. A site missing all four is not necessarily hacked — but it is leaving the doors unlocked.

Redirects, caching and status codes

A redirect chain is the path a request takes before reaching the final page: http://example.com → https://example.com → https://www.example.com is two hops. Each hop costs a round trip, so chains longer than two or three hops slow the site and can break crawlers. The fix is to redirect straight to the final URL in one hop.

Caching headers decide how long browsers and CDNs keep a copy. Cache-Control: max-age=3600 means one hour; no-store means never cache. Static assets (images, CSS, JS) should cache for a long time with versioned filenames; HTML pages should cache briefly or not at all, so visitors always get fresh content. Status codes are the verdict: 2xx means success, 3xx a redirect, 4xx a client error (usually a wrong URL), 5xx a server error.

How to fix the common header problems

Missing HSTS: add Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" in .htaccess — but only after the site works fully on HTTPS, because HSTS cannot be undone quickly. Missing CSP: start with a report-only policy (Content-Security-Policy-Report-Only) and watch the violation reports before enforcing it — a strict CSP deployed blind will break scripts.

Redirect loops: the chain never ends (A → B → A). Check the redirect rules in .htaccess and in the application (WordPress's site URL settings are a common cause) until each URL redirects at most once. Wrong content type: a page served as text/plain instead of text/html will not render — check the server's MIME configuration.

Frequently asked questions

What are HTTP headers?

HTTP headers are invisible instructions a server sends with every page: the content type, caching rules, redirects, and security policies. They decide how fast, how safe and how correct a site behaves.

How do I check a website's headers?

Enter the website above. The checker fetches its headers, follows redirects, and explains each header in plain English — including the security headers the site is missing.

What is HSTS?

HSTS (Strict-Transport-Security) tells browsers to only ever use HTTPS for a domain. Without it, a visitor can be downgraded to an unencrypted connection. Add it only after the site works fully on HTTPS.

What is a Content-Security-Policy?

CSP is a whitelist of where scripts, styles and images may load from. It is the strongest single defence against cross-site scripting. Deploy it in report-only mode first, then enforce it.

How many redirects are too many?

One redirect is normal (http to https, or bare domain to www). Two is acceptable. Three or more hops slow the site and can confuse crawlers — redirect straight to the final URL instead.

What does HTTP 500 mean?

HTTP 500 is a server error: the server tried to build the page and failed. Check the server error log for the exact cause — it is never a DNS problem, and this checker cannot see the log, only the status.

Is this headers checker free?

Yes. It fetches the same headers any browser would receive. There is no account and nothing you type is stored.