Skip to content
ferkesh.HOSTING

CNAME Flattening at the Domain Apex: When to Use It

Domains and DNS 77 مشاهدات Markdown
Diagram linking Identify zone apex, Check provider support, Preserve MX and TXT and Verify address replies.

CNAME flattening lets a supporting DNS provider point a root domain such as example.com at a hostname. The provider follows the alias and returns address answers. An ordinary CNAME at the apex conflicts with required zone records such as SOA and NS.

Choose the record your destination requires
SituationRecord to use
The host supplied fixed IPv4 or IPv6 addressesAdd the supplied A or AAAA records at the intended name.
The host supplied a target hostname for the apexUse the authoritative provider’s documented flattening or managed-alias feature.
The host supplied a target for a subdomainA standard CNAME often fits, provided no other records need to exist at that same owner name.

Decide whether the alias fits

  1. Read the destination’s instructions for the root domain. Check whether it supplies stable addresses or requires a hostname target. Verify that your authoritative DNS provider supports apex aliasing and how its editor labels that feature.
  2. Record current MX, TXT, CAA and address records before editing. Follow the provider’s compatibility rules and avoid deleting email or verification entries to make an ordinary CNAME fit.
  3. Query A and AAAA for the apex from each authority and verify that mail and verification records remain present. Test the destination hostname over HTTPS and confirm that its certificate covers the apex.

An apex flattening feature can change what a verification service sees. For example, a verifier that explicitly checks for a visible CNAME may not accept address answers for an alias. Use the verification method the destination documents and preserve the previous apex configuration for rollback.

Check A and AAAA answers for the apex after the change. A verification service that explicitly expects to see a CNAME may need an unflattened record at its named label or the service’s supported TXT verification method.

If your next step is moving an existing domain to a new web host, compare Ferkesh shared hosting plans. Ordering is currently closed.

Official references

Ferkesh Hosting. Last reviewed .

هل كان هذا مفيدًا؟

شكرًا على ملاحظاتك!

هل ما زلت بحاجة إلى مساعدة؟

فريق الدعم متاح على مدار الساعة لمساعدتك في كل ما لم تجده في قاعدة المعرفة.