Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to point a sub domain to a google apps account, what is the best way to do this in DNS.

For example ->

What should the DNS record look like?

share|improve this question
Is it your own server or are you hosted with some company ? – Prix Aug 28 '10 at 23:17

To point it to Google Apps, you need to set a CNAME that points to For instance: IN CNAME

You'll also need to configure your Google Apps account to allow this. In your Dashboard, click on the Email link and it should take you to your Email settings page. At the top, you should see a section called: Web address, with a link called Change URL. Go through the wizard and it should provide you with instructions on what you need to do.

share|improve this answer

What you are trying to do is outside the scope of DNS on it's own. You can however point DNS to a web server that then does a HTML redirect.

share|improve this answer
the Google Apps instructions specify that this is done at the DNS level with a CNAME record, not with an HTTP or HTML redirect. – gbroiles Aug 29 '10 at 6:57

First you need to set up your mx records as per Google's instructions. If you want to set up a sub domain to access web mail you create a cname that points to

You have to validate the subdomain in your Google Docs dashboard before you can use it.

alt text

You should also set up spf records to prevent your mail going to spam boxes.

SPF Records: 14400 in TXT "v=spf1 ~all" 14400 in TXT "v=spf1 a mx include:aspmx.googlemail
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.