DNS for ecommerce

Inventory storefront, checkout and service-provider records before a cutover. Test new answers and complete a purchase through the existing checkout flow.

Storefront migration inventory
Storefront
shop.example.com.
Checkout
checkout.example.com.
Email authentication
_dmarc.example.com.

Plan DNS changes around the checkout path

Host the shop zone on Cloud DNS. Point the storefront at Cloud CDN with flattening. Health-check origin or regional failovers. Keep TTLs low on records you might move during a sale.

Authority that survives a sale

Storefront records are served by the authoritative Anycast DNS network.

Regional storefronts when you have them

GeoDNS can send resolvers to a nearby shop or CDN hostname.

Failover during incidents

Health checks can exclude an unhealthy endpoint from new answers for a checkout hostname you control.

Configuration

Cloud DNS overview
  1. Move the shop zone to Cloud DNS

    Preserve MX, SPF and verification records.

  2. Point the storefront at Cloud CDN

    Flatten the apex if the shop is on the root domain.

  3. Health-check anything you might fail over

    Payment-adjacent origins need a rehearsed DNS path.

  4. Lower TTLs before peak events

    Do it days ahead of the campaign, not during it.

Operational outcomes

  • Shop DNS is Anycast and DDoS-protected
  • Storefront names can follow Cloud CDN
  • New answers can exclude an unhealthy origin
  • Campaign cutovers are not stuck on TTL

Frequently asked questions

Should checkout have a separate hostname?

Often yes for PCI and cache policy. Both names can live in the same Cloud DNS zone.

Can I keep email at Google or Microsoft?

Yes. MX and related TXT records stay in the zone when you move NS.

Does this help if the CDN is the storefront?

Yes. DNS still has to resolve. Flattening and low TTLs are how you point the shop at Cloud CDN.

What about multiple storefronts?

Use GeoDNS or separate hostnames per market. Health checks still apply.