Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6152411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:54:56+00:00 2026-05-23T19:54:56+00:00

Just want to see if I understand this correctly. CNAME record specifies an alias,

  • 0

Just want to see if I understand this correctly.

CNAME record specifies an alias, in the following form:

alias CNAME canonical-domain

Which means if something is trying to look up alias, it will find the CNAME record and start searching for canonical-domain instead.

A record directly maps a host to an IP

host A IP-addr

So if I have 2 domains eventually pointing to the same IP addr, one is a canonical domain and another is an alias domain, I would use an A record for the canonical domain->IP mapping, and a CNAME record for the alias->canonical mapping.

Why can’t I just use 2 A records, one being canonical->IP mapping and the other being alias->IP mapping? Is it so that you only have to update the IP once if you ever need to change it? (Analogy would be CNAME is a softlink and A record is a file in a filesystem)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:54:57+00:00Added an answer on May 23, 2026 at 7:54 pm

    Why can’t I just use 2 A records, one being canonical->IP mapping and
    the other being alias->IP mapping?

    You can – that’s perfectly normal.

    Is it so that you only have to update the IP once if you ever need to
    change it?

    Yes, that’s right.

    A common configuration is to have the canonical name being the server’s real hostname, and then CNAME records for the sites hosted on that server pointing at that.

    Note that you can’t have a CNAME for a bare domain name (e.g. stackoverflow.com) . A CNAME record can’t coexist with the NS and SOA records that are expected to exist at the apex of a zone.

    (Analogy would be CNAME is a softlink and A record is a file in a
    filesystem)

    That’s not an analogy I’d use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just want to make sure I understand this correctly (I'd ask on SO Chat,
I just want to see what files were modded/added/deleted between 2 arbitrary revisions. How
I just want to see error insteas of asp.net showing me default error Server
I just want to check and see if a row exists where the $lectureName
I just want to do a quick poll to see if Fluent Nhibernate is
Got solution - See bottom of the post Just want to know if there
I've created this simple and pointless assembly (Y86) code to see if I understand
I just want to make sure I'm doing this in the proper pythonic way
Just want to know if there other optional wrapper framework available that generate client
Just want to know how to read an attribute of a parent node from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.