Client Portal↗Talk to an expert↗
← Back to insightsSECURITY-OPERATIONS

Practical guide: prepare applications before enabling edge protection

Actionable checklist and technical playbook for product and engineering teams to prepare applications before turning on edge protection. Includes minimal inventory, critical-route classification, DNS and certificate validation, origin verification, smoke tests and a deployment communication template.

Purpose and scope

This practical guide helps technical and product teams prepare applications for enabling edge protection. It contains a minimal inventory, criteria to classify critical routes, steps to validate DNS and certificates, instructions to verify origins and prevent bypass, smoke tests and a communication/contact template. When uncertain, engage MVX Shield as noted.

Minimal inventory to collect

Gather these items prior to activation to reduce downtime risk and streamline testing.

  • Domains and subdomains: full list of zones and hostnames to be protected.
  • DNS records: A, AAAA, CNAME, ALIAS/ANAME, MX, TXT (including SPF, DMARC).
  • Origin addresses: public IPs, CIDR ranges and FQDNs serving traffic.
  • Ports and protocols: TCP/UDP ports used (e.g., 80, 443, 8443) and use of HTTP/2 or QUIC/HTTP3.
  • TLS certificates: issuer, validity, chain, common name and SANs.
  • Routes and rules: HTTP(s) routes, API endpoints and webhooks.
  • External dependencies: auth providers, CDNs, mail providers and third-party APIs.
  • Rollback contacts: network, infra, security and product owners with phone/email.

Classifying critical routes

Use objective criteria to prioritize protections and tests:

  1. Business impact — checkout, login, billing APIs and critical uploads.
  2. Traffic volume — endpoints with high TPS or predictable spikes.
  3. Data sensitivity — routes handling PII or payment data.
  4. Dependencies — routes with synchronous external integrations.

Label routes High / Medium / Low and focus testing on High routes first.

DNS and certificate validation

Before pointing traffic to the edge, run these checks:

  • DNS consistency: confirm records exist and propagate. Useful commands: dig +short A your-domain.example, dig +short CNAME your-sub.example.
  • TTL and propagation: verify current TTLs and plan a TTL reduction window for fast rollback.
  • Certificate checks: verify chain and expiry with openssl s_client -connect your-domain:443 -servername your-domain and openssl x509 -noout -dates. Ensure SANs cover all hostnames.
  • SNI and multiple certs: confirm origin responds correctly to SNI for each hostname.

Verify origin and prevent bypass

Edge protections are effective only when direct origin access is blocked or authenticated.

  • Restrict origin access: allow only edge IP ranges or enable mutual TLS (mTLS) between edge and origin.
  • Verification headers: if using a header to identify edge traffic, implement a named header and validate its signature at the backend.
  • Avoid partial IP allowlists: do not leave origins publicly reachable in a way attackers can bypass the edge. If unavoidable, combine with origin firewall accepting only authenticated connections.
  • Bypass tests: perform controlled attempts to access origin directly (e.g., curl to origin IP/port) to ensure access is blocked.

Smoke tests (pre- and post-activation)

Run a reduced set of tests that validate critical functions right after activation.

  1. Basic connectivity: curl -I https://your-domain.example — expect 200/302 as appropriate.
  2. Login/session: basic login flow in staging; check cookies and security headers.
  3. Main API: GET/POST requests to high-SLA endpoints. Compare latency and HTTP codes before and after.
  4. Uploads/downloads: test representative file transfers.
  5. Rollback mechanism: simulate rollback (e.g., restore DNS pointing) and validate return to prior state.

Actionable checklist (compact)

  • Inventory: domains, origins, ports, certs — OK/pending
  • Route classification: prioritized by criticality — OK/pending
  • DNS: records and TTL verified — OK/pending
  • TLS: chain and SANs confirmed — OK/pending
  • Origin: direct access blocked or authenticated — OK/pending
  • Smoke: critical tests executed — OK/pending
  • Communication: channels and contacts ready for deploy — OK/pending

Deployment communication template

Send a short notice to stakeholders including:

  • Subject: Edge protection activation — windows and contacts
  • Summary: planned times, affected domains, rollback plan and success criteria
  • Emergency contacts: names, roles and phone/email
  • Approval checklist: inventory confirmation, smoke tests and product/ops sign-off

When to involve MVX Shield

Involve MVX Shield when:

  • There is uncertainty about origin rules and safe direct-access blocking;
  • Review of TLS, SNI or mTLS configuration is needed;
  • L7 policy review and tuning is required for high-criticality routes.

For more detail, see internal pages: Website Security, L7 Hardening and DNS & Edge.

Conclusion and call to action

Following this playbook reduces operational risk during edge protection activation and speeds recovery if issues occur. For hands-on validation or to coordinate the rollout, contact MVX Shield to arrange a pre-activation review.