A checklist for securing websites and domains

HSTS, CAA, SPF…

I've compiled below the things I've done to secure this site and domain. These lists do not include software and configuration for other applications on the server.

Websites #

DNS configuration #

Service-specific configuration items #

Footnotes #

[1] Let's Encrypt (letsencrypt.org), Certbot (certbot.eff.org) ^

[2] RFC8996 Deprecating TLS 1.0 and TLS 1.1 (datatracker.ietf.org) ^a^b

[3] Mozilla Developer Network Web Docs - Strict-Transport-Security (developer.mozilla.org) ^a^b

[4] HSTS Preload List Submission (hstspreload.org) ^

[5] OWASP Secure Headers Project: Response Headers (owasp.org) ^

[6] Geekflare: Secure Header Test (geekflare.com) ^

[7] ModSecurity: Open Source Web Application Firewall (github.com) ^

[8] OWASP ModSecurity Core Rule Set (coreruleset.org) ^

[9] mod_autoindex - Apache HTTP Server (httpd.apache.org) ^

[10] Module ngx_http_autoindex_module - Nginx (nginx.org) ^

[11] DNSimple Help: What's a CAA record? (support.dnsimple.com) ^

[12] Cloudflare Docs: CAA records (developers.cloudflare.com) ^

[13] DNSimple Help: What's an SPF record? (support.dnsimple.com) ^

[14] RFC6376 DKIM Signatures (datatracker.ietf.org) ^

[15] EasyDMARC: What is DKIM Key Rotation? (easydmarc.com) ^

[16] DNSimple Help: What's a DMARC record? (support.dnsimple.com) ^

[17] EasyDMARC: What are RUA and RUF in DMARC? (easydmarc.com) ^

[18] RFC7929 ยง 5: Application Use of OPENPGPKEY (datatracker.ietf.org) ^

[19] Cloudflare Docs: Encryption mode (developers.cloudflare.com) ^

[20] Netlify Docs: Custom headers (docs.netlify.com) ^