Mobile app version of vmapp.org
Login or Join
Karen161

: Why does my domain always get mapped to the naked domain flavor? I am trying to understand why does my website always get redirected to the naked domain version of it. For e.g.: www.example.com

@Karen161

Posted in: #Domains #WebHosting

I am trying to understand why does my website always get redirected to the naked domain version of it. For e.g.:
example.com gets redirected to example.com

I purchased my domain name from godaddy and am using github (scroll to custom domains) for hosting it. (sidenote: I don't quite understand the concept of CNAME and A-records)

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen161

3 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

If you've purchased your domain through Google with eNom as your registrar, you can configure your naked domain to point to your mapped CNAME (subomain) through the following steps:

Log into your Google Apps control panel at www.google.com/a/example.com Select Domain Settings >> Domain Names >> Advanced DNS
Locate the provided username and password for your eNom DNS control panel and make note of them before clicking on the Sign in to DNS Console link
Click Edit under the Host Records section
Delete any existing A records
Add a new Host Record with the following configuration (see sample image below):
Host Name: @
Address: www.wallpaper66.com Record Type: URL Redirect
Save your changes

10% popularity Vote Up Vote Down


 

@Gretchen104

The key is in this sentence:


The server will set your pages to be hosted at example.com, and create
redirects from example.com and charlie.github.com to example.com.


"The server" is the github server and they've put a redirect on that from www to the naked domain. They could if they wanted to make example.com not redirect. You could ask through support that they don't do this, but they may not want to do a special for you.

10% popularity Vote Up Vote Down


 

@XinRu657

It has to do with the way the web server is set up. This is so the www does not have to be included in the URL (since nobody really uses it anymore anyway). If it wasn't for this typing example.com might not take you to the website, where as typing example.com would (or vice versa).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme