FlyerTalk Forums - View Single Post - Can a site not respond to a ping?
View Single Post
Old Mar 30, 2014 | 11:03 am
  #5  
zkzkz
All eyes on you!
15 Years on Site
 
Join Date: Dec 2007
Posts: 3,755
Originally Posted by BigLar
So, what happened to the "www" in front of the site name?
The canonical name is flyertalk.com. www.flyertalk.com is just an alias for flyertalk.com:
Code:
www.flyertalk.com.      1905    IN      CNAME   flyertalk.com.
flyertalk.com.          1905    IN      A       98.158.194.68
The web server appears to respond to both virtual hosts with the same content.

This is incidentally not a good way to set things up. It means you can end up with two sets of cookies or site preferences or other state depending on which host name you connect to which can be confusing. It's much better to set up a virtual host for one of them that just does a 302 redirect to the preferred name and always use that preferred name.
zkzkz is offline