CNAME - how will the url be in the http request

Posted by Traveller on Server Fault See other posts from Server Fault or by Traveller
Published on 2010-06-03T14:14:18Z Indexed on 2010/06/03 15:15 UTC
Read the original article Hit count: 234

Filed under:

A newbie question regarding dns records

Let's say I've configured, abc.example.com -> A 10.x.x.x

and a CNAME for xyz.example.com CNAME for xyz.example.com -> abc.example.com

when a user does an http request for xyz.example.com what happens when the request reach the 10.x.x.x server. Will the URL be abc.example.com or xyz.example.com? (trying to find out if virtual host in apache need to be updated)

Thanks much

© Server Fault or respective owner

Related posts about dns