Website URLs and Domains

733 views

Hello,

Can someone please explain how website URLs and domain names interact?

Specifically, if you own a domain such as: yourwebsite.com

If you have the domain records setup so that the CNAME www.yourwebsite.com -> yourwebsite.com

How does the www version become the default web address and how is 301 redirects applied?

If www is pointed to naked domain, why does the website default to www version – shouldn’t it be the other way around? Or is this web server configuration based?

In: Technology

2 Answers

Anonymous 0 Comments

These are setting that can be configured on the server settings or defined site’s cpanel. You can set up what is the canonical version of the site, and redirect the non-canonical to it. Hosting setups may default to www. but you could change to drop that if you choose to do so fairly simply.

You are viewing 1 out of 2 answers, click here to view all answers.