- Log into your account with your DNS host / registrar
- Navigate to the DNS Control Panel for your domain (example.com)
- Scroll down to the CNAME (Alias) section
- Click the Add CNAME button / link
- For the CNAME (Alias), type "www"
- For the Host, type "ghs.google.com"
- Leave the TTL value at its default (GoDaddy defaults to 1 hour)
- Save your changes
See the official Google article outlining how to manage CNAMEs with many popular registrars.
Google Apps Users: Google provides a mechanism for redirecting your naked domain through your domain's control panel. See the following article for more information: Google Apps Naked Domain Redirect
As I mentioned at the top of this article, Google Sites does not support mapping your naked domain (http://example.com << without the preceding CNAME [www.]). So, in order to get the naked domain to point to your website, you'll need to take advantage of your registrar's forwarding feature.
So, to achieve this with GoDaddy (sorry, but I don't have instructions for other registrars readily available.), you'll need to:
- Log into your account
- Select the "Domain Manager" option
- Select the domain you wish to forward
- Click the "Domain is not forwarded" link (located in the center of the screen, under "Forwarding" and above "Total DNS"
- Check the "Enable Forwarding" box
- Enter the URL to forward the domain to. In this example, you would enter http://www.example.com
- Select the "301 Redirect" option
- Click OK
- Log into your Google Apps control panel at http://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: http://www.example.com
- Record Type: URL Redirect
I would expect this change to be in effect within about 30 minutes, but it could take 24-48 hours to fully propagate.