DNS for WordPress

Prepare the WordPress origin and certificate, copy the existing zone and lower the relevant TTL ahead of the move. Verify public pages and sign-in after cutover.

Website and mail delegation
Website
www.example.com. · A
Mail exchange
example.com. · MX
Delegation
example.com. · NS

Move the site hostname while preserving mail and verification records

Host the WordPress zone on Cloud DNS. Flatten the apex to Cloud CDN, keep wp-admin on the origin if you split hostnames, and drop TTLs before cutover.

Anycast DNS for the site name

Resolvers can query the authoritative service for records on the WordPress domain.

Apex flattening to Cloud CDN

example.com can follow the distribution without a frozen hosting A record.

Cut over when you are ready

Lower the TTL ahead of the migration and keep the former site available while cached addresses expire.

Configuration

Cloud DNS overview
  1. Import the WordPress zone

    Preserve MX, SPF, DKIM and verification TXT.

  2. Create the Cloud CDN distribution

    Validate on an Aptranet hostname before touching production DNS.

  3. Lower TTLs, then flatten the apex

    Point the root and www at the CDN hostname.

  4. Keep mail where it is

    DNS for the site and mail records can share the zone safely.

Operational outcomes

  • WordPress DNS is on Anycast Cloud DNS
  • Apex and www can follow Cloud CDN
  • Mail records stay intact
  • Future origin moves use a low TTL

Frequently asked questions

Do I have to move DNS to use the CDN?

You must point the site hostname at Cloud CDN. Hosting the whole zone on Cloud DNS makes flattening, TTL and failover easier.

Can wp-admin stay on a different name?

Yes. Use a separate hostname that bypasses cache. Both names can live in Cloud DNS.

Will this break domain-mapped multisite?

Each mapped domain still needs records. Automate them, or host those zones on Cloud DNS as well.

See also CDN for WordPress?

Yes. Delivery and DNS are separate products that share the same network. Use both for a full cutover.