A hosting platform gives you an endpoint such as tenant.host.example and asks you to point your domain at it. That is straightforward for www. At the zone apex, the same name already owns the zone’s SOA and NS records, which changes the choice of record.

Why the apex is special

An ordinary CNAME tells a resolver that this name is an alias of another name. DNS rules limit the other data that can coexist at a CNAME owner. The apex must publish its SOA and NS records, and often also publishes MX and TXT records. Placing a conventional CNAME there conflicts with that arrangement.

The Aptranet Cloud DNS record editor rejects a CNAME at the apex. If the hosting service supplies stable apex addresses, use the assigned A or AAAA values. If it supplies only a hostname, confirm that the required alias behavior is supported before migrating the zone.

Follow the answer the client receives

With flattening, the authoritative provider resolves the configured target and returns address data for the customer’s name. The configuration screen may call the feature an ALIAS, ANAME or flattened CNAME. Refresh behavior, supported query types and TTL handling are implementation details. Read the service’s documentation before assuming two products behave identically.

An apex configured against a hosting target

  1. 1Configured targetThe zone owner enters tenant.host.example as the apex target.
  2. 2Provider resolutionThe DNS service obtains the eligible addresses of that target.
  3. 3Client responseA resolver asking for the apex address receives synthesized address data.
Example names represent a customer zone and a separate hosting provider.

Check more than the browser

Compare apex A and AAAA answers with the expected target behavior. Verify that the hostname is enabled on the hosting platform and that its TLS certificate covers the apex. Query mail and verification records separately. A third-party ownership check may specifically require a visible CNAME, so follow its instructions before enabling flattening on a verification hostname.

Sources & further reading

Reader questions

Should I copy the target’s current IP address into an A record?

A copied address can outlive its assignment. Use addresses explicitly assigned for that purpose or a supported alias mechanism that follows the provider’s hostname.

What if the target only publishes IPv4?

Inspect the provider’s response to AAAA queries. Publishing an invented IPv6 address creates a path clients cannot use.

Can I keep email at the same domain?

An apex flattening feature should leave independently configured MX and TXT data available. Verify both record types against the new authority during a change.