Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Domains ›
Setup Google Apps

Setup Google Apps

June 28, 2011 Domains Jesin A Leave a Comment

google apps setup step1

Google Apps is a service provided by Google using which you can create an email account with your own domain name. The advantage is the email service is powered by GMail which gives you features like 8GB inbox and the ability to chat with other GMail fellow mates. Whats more all other services provided by Google are also available for your domain. Take Google Docs for example, using Gogole Apps you can share documents within the users of your domain. On the free version of Google Apps you can create upto 50 users. In this tutorial I’ll show you how to setup Google Apps for your domain. For setting up Windows Live Domains see that article.

Step1: Register at Google Apps

Register for Google Apps by going to https://www.google.com/a/cpanel/domain/new, enter your domain name. You should’ve already registered this domain name.

google apps setup step1In the next page fill in your personal details and enter an email ID. This email address should be outside your domain. This will be your secondary address, if you forget the password of your domain administrator account this email will be used to reset the password.

google apps setup step2Now is the time to create your first email account for the domain. This email address will be the administrator of the domain and has the ability to add, delete and modify other users’ passwords.

google apps setup step3The final process in this step is to verify that you own the domain name. There are numerous methods for this and the “Recommended method” is to create a DNS record. To make things simpler I’ll be showing you “Upload a HTML file to your server” method. Select “Alternate methods” tab to access this.

google apps setup step4Just follow the steps given in the screenshot, download the HTML file, upload the file via FTP/Web Hosting Control Panel, check whether the has uploaded correctly and click “Verify Now” Button.

Step2: Setup MX records

To know about MX record read the article Types of DNS records. Go to the “Dashboard” and in “Service Settings” section click “Activate Email” under Email.

google apps setup step5You’ll be presented with a page containing instructions for setting up MX records for Google Apps. Even though one MX record is enough for receiving emails it is recommended to create all 7 MX records for redundancy. Since most Web Hosting providers have CPanel I’ll tell you the steps for setting up MX records in CPanel. After logging into CPanel go to “MX Entry” under the “Mail” section. Select your domain name and delete any existing records and create MX records with the mentioned priorities.

google apps setup step6The MX records for Google Apps with the priorities are shown below

MX Server address Priority
ASPMX.L.GOOGLE.COM. 10
ALT1.ASPMX.L.GOOGLE.COM. 20
ALT2.ASPMX.L.GOOGLE.COM. 20
ASPMX2.GOOGLEMAIL.COM. 30
ASPMX3.GOOGLEMAIL.COM. 30
ASPMX4.GOOGLEMAIL.COM. 30
ASPMX5.GOOGLEMAIL.COM. 30

After doing this click the “I’ve completed these steps” button.

Step3: Setup TXT records (optional)

Setting up TXT records for you domain will ensure email sent from your domain is not checked to see if it was sent from Google’s mail servers or from some other rogue mail server. To setup TXT records in CPanel click “Advanced DNS Zone Editor” under the “Domains” section, select you domain name and enter the following values. If there is no “Advanced DNS Zone Editor” contact you hosting provider to create the records for you.

Name: yourdomainname.com
TTL: 86400 (can be set to anything that suits you)
Type: TXT
TXT Data: v=spf1 include:_spf.google.com ~all

Step4: Setup Email authentication (DKIM) (optional)

Setting up email authentication will ensure all email sent from your domain are signed to maintain the integrity. To know more about DKIM see http://en.wikipedia.org/wiki/DKIM. Go to the “Advanced Tools” section from the Google Apps administration panel and click “Set up email authentication (DKIM)” link.

google apps setup step7Enable email authentication, use the default DNS hostname “google._domainkey”. The TXT record name and record value are displayed.

google apps setup step8Go to your web hosting control panel and create a new TXT record named google._domainkey.yourdomainname.com and enter the value shown in the Google Apps “Authenticate Email” page. Be very careful not to miss anything in the TXT record value.

google apps setup step9Wait for sometime and when Google Apps “Authenticate Email” page shows “Status: Authenticating Email”.

Step5: Setup CNAME records (optional)

To access any service for your domain you should type the entire Google URL followed by your domain name. For example for accessing email you should type http://mail.google.com/a/yourdomainname.com. To make things cool we’ll create an alias for it so that you can use mail.yourdomainname.com for email, docs.yourdomainname.com for Google Docs and so on. To create a CNAME for a particular service login to your Google Apps account, go to settings, select a service, and click “Change URL”

google apps setup step10Enter the name you wish to use for that service and click “save changes” button.

google apps setup step11For this custom URL to work you need to create CNAME records from your web hosting control panel. Enter the following values for creating a CNAME

Name: mail (this is the value entered in the Google Apps settings)

Type: CNAME
Value: ghs.google.com

Winding up everything

To check the MX records, TXT records and CNAME records use the DNS Lookup Tool. When you enter your domain name you’ll see the MX records and TXT record entered in step 3, to verify CNAME records enter the complete URL, e.g. mail.yourdomainname.com, for verifying DKIM email authentication enter google._domainkey.yourdomainname.com. For a complete checkup send emails TO admin@yourdomainname.com from other email IDs and see whether you receive the email. Then send emails FROM admin@yourdomainname.com TO a GMail account open the email and see if your domain name is shown as “signed by”

google apps setup step12Here is a list of URLs for your domain, just replace example.com with your domain name.

Managing your domain: http://www.google.com/a/example.com
Accessing Email services: http://mail.google.com/a/example.com (replace "mail" with docs, sites to those services)
Creating users: http://www.google.com/a/cpanel/example.com/Organization

If you have any doubts or problems just drop in a comment.

Related posts:

Default ThumbnailTypes of DNS Records Default ThumbnailCreate your own email with Windows Live Custom Domains Default ThumbnailUsing a Custom Domain on Blogger linux category thumbnailSetup Secondary (Slave) DNS Servers Free Default ThumbnailBlocking Google Analytics and Statcounter

Tags: domain dns, email

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.