1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

basic DNS question CNAME

Discussion in 'Network Infrastructure' started by Ence, May 9, 2009.

  1. Ence

    Ence Kilobyte Poster

    Still working on DNS :blink

    So I guess this is basic but I don't understand why I would use an CNAME! whats the point!

    CNAME (Alias) what I have readied is: If I was the type in a web browser CF then certforums.co.uk website would load web page, As I made an CNAME & A record.

    Also read about mapping one host to another host so it has same name. Would I use an CNAME if I hosted two or more website on one server ?

    Is this right. I have looked at wiki and just it just gets more confusing.

    understand what an alias is

    edit: many thanks
  2. jk2447

    jk2447 Petabyte Poster Moderator

    Hi Ence, I'm studying for 291 too. Yeah I think you've got it you know, a CNAME lets multiple services run one the one server, so that they all use different ports but are tied to the one IP address. So like you say, FTP.CERTFORUMS.CO.UK and WWW.CERTFORUMS.CO.UK have the same IP address but as one is HTTP and one is FTP, it will listen in on port 80 for HTTP or 21 for FTP.

    Think thats right . . .

    Certifications: BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, VCP4, CCA (XenApp6.5), MCSA 2012, VCP5, VCP6-NV
  3. dales

    dales Gigabyte Poster

    think about it this way, if you have a server with IIS on it and it is hosting 2 or more websites hows iis gonna know which one to serve. a Cname record is just a way to give a host record another name as you cannot create 2 host records for the same server/workstation.
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  4. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    I create CNAME records for websites that are hosted on other servers. This means I point the CNAME to the A record of the hosted server. If the company that hosts the server makes any IP address changes I dont have to worry about updating my DNS records. 8)
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010

Share This Page