If you are a Google Apps user, you can use the forwarding features outlined below to point your naked domain (http://example.com/) to one of your mapped subdomains/CNAMEs:
While the Google Apps Naked Domain Redirect (GANDR) will do the trick, it is not - in my opinion - as robust as the alternate method of forwarding your domain via your DNS management console.
The main issue I see is that when using GANDR
redirects will land on the root of your domain, regardless of whether a subdirectory or page is specified in the URL.
For example, http://example.com/subdirectory will redirect to http://www.example.com when using GANDR. Using the standard DNS redirect, the same URL would redirect to http://www.example.com/subdirectory.
- Log into your Google Apps control panel at http://www.google.com/a/[example.com]
- Click on the Domain Settings tab
- Select the Domain Names sub-tab of the Domain Settings screen
- Click the Redirect your naked domain link:
- Enter the sub-domain/CNAME for location you wish to redirect visitors to when they enter your naked domain name (http://example.com) and click the Continue button
- Log into the DNS management console for your domain (GoDaddy, eNom, etc.) and enter the A records specified on the Changing the A-Record for Your Domain page:
- Once the A records noted in step 6 above have been created, click the I've Completed These Steps button.