Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

For example email.example-site.com -> https://www.google.com/a/example-site.com.com

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

3 Answers 3

To point it to Google Apps, you need to set a CNAME that points to ghs.google.com. For instance:

email.example-site.com IN CNAME ghs.google.com.

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 ghs.google.com.

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:

example.com 14400 in TXT "v=spf1 include:aspmx.googlemail.com ~all"

example.com 14400 in TXT "v=spf1 a mx ip4:xxx.xxx.xx.xxx include:aspmx.googlemail
share|improve this answer

Your Answer

 
discard

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.