Forwarding to a Website

while using GApps

The topic frequently arises of how to use a 3rd party hosted website while also using GApps. This Knol will explore the general technique for doing so withe specific examples for those using GoDaddy or eNom. If others have examples for other domain hosts, they are encouraged to write this author with instructions for doing so.


Often people would like http://www.mydomain.com and http://mydomain.com to point to their website hosted by a 3rd party. In order to do this, configuration changes will need to be made in the resource records managed by your domain service provider. Basically you will be Forwarding or redirecting http://mydomain.com to http://my_hosteddomain.com/.

There are two basic ways of doing this. I'll cover each in their own sections.

  1. Replace the A records of you Resource Records
  2. Use Forwarding or Redirection 
  3. In the 3rd section is a tool for requesting direct help from me. You will need to supply me with your  domain name, login URLs, admin username(s), and passwords. I will only respond to those also using GApps. Sorry but I won't respond to those asking for help through a posted comment for this help page.

Replace the A records of you Resource Records

  1. Delete any existing A records in your DNS records. Of course document your changes.
  2. Add two A records with www and @ pointing to the IP address of your 3rd party website. Set the TTL to 1 hour.
Use Forwarding or Redirection

Log into the Domain Manager of your Service Provider. The examples beIow are for GoDaddy and eNom.

If GoDaddy is your service provider:

  • On the Domain Manager page, cIick on the link under Forwarding and enable Forwarding as shown in the screenshot below.
  • Enter the url of the home page of your website. Forwarding will result in showing the page URLs of your 3rd party website and not the GApps mydomain.com name you registered.  Turning on Masking will show mydomain.com in the browser when viewing your hosted site but every page will show mydomain.com in your browser's internet address.
  • Select either 301 (moved "permanently") or 302 (Moved Temporarily). 301 is useful for speed of access and but can later be changed.
  • CIick on Total DNS Control and MX Records. See link at bottom in above Figure.
  • Change or add a CNAME of www so it points to the symbol @
  • Save the changes and WAIT for up to 48 hours for the changes to propagate to all necessary world-wide servers
  • Within the GApps control panel, reset to the default any URL using www

If eNom is your service provider:

  • Add a Host Record with @ as the Host Name, the url of the home page of your web site and URL Redirect as the Record Type. This Redirect type will result in showing the page URLs of your 3rd party website and not the GApps mydomain.com name you registered.  Using URL Frame will show mydomain.com in the browser when viewing your hosted site but it will be in a frame hosted on eNom's server. You'll need to put '"target=_top"' into links leaving each page.  See the eNom Help page in their Edit Host Records section for more details. Please ignore the address of the URL FRAME record as it's just an example.
  • Change or add a CNAME of www so it points to the symbol @
  • Save the changes and WAIT for up to 48 hours for the changes to propagate to all necessary world-wide servers.
  • Within the GApps control panel, reset the Custom url for Web Pages to the Default Setting, i.e. remove the www

Special Instructions for users who purchased their domain name from Google: 

  • Login to your Service provider using the Advanced DNS Settings Link within the GApps Control Panel.
  • If you see the following A Records pointing to Google Servers (64.233.179.121, 66.249.81.121, and 72.14.207.121), delete them.
  • For GoDaddy customers: Add an A record with Host Name: @ Points to: 64.202.189.170 and TTL: 1 hour.

Request for direct intervention by me.  Very limited.


Additional Resources

Comments

Congratulations, Honorable Mention

Dear Larry --

We are very pleased to announce that this Knol is an Honorable Mention badge winner for English Knols created in October, 2008. Congratulations. You may view your award at http://knol.google.com/k/peter-baskerville/top-pick-best-knols-of-the-month/14j3i4hyjvi88/60#.

Top writers like you may benefit from participation in the 'Google Knol LinkedIn Group', located at http://www.linkedin.com/groups?gid=2185205&trk=hb_side_g.

Please consider joining with us to add your point of view. Knol is listening!

Great work, keep it up,

Murry Shohat and Peter Baskerville

Oct 15, 2009 3:46 PM
Report abusive comment

Outstanding Article!

I have been searching and searching to find all of the information I needed and Larry, you have done it! Thank you so much for not only answering my questions but filling in the gaps in my understanding of CNAME's, MX records, 'A' records, etc. Everything is working great. Thanks so much! - Robert

Last edited Sep 28, 2009 7:04 AM
Report abusive comment

Note

Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer.
A good article. Thanks
http://www.onlineway.eu

Last edited Sep 18, 2009 1:12 PM
Report abusive comment

Kudos

Very clear instructions which took only minutes for this novice user to implement. eNom updated immediately.

Thank you very much!

Last edited Sep 8, 2009 5:39 AM
Report abusive comment

Serendipity

I purchased my domain through Google Apps and yesterday I decided it was time to host the website at a 3rd party. I found no information through google searches, so I went back and forth through customer support and finally got the root domain to display content on the GoDaddy server. I'm still having difficulty setting up subdomains, but hopefully after allowing time for the settings to come into effect this will clear things up.

So the serendipity here is I found this knol simply by searching for "Larry" to see what kinds of knols would pop up.

Anyway, thanks for the tutorial. Perhaps you can make a note at the top pointing to the special instructions for Google Apps purchased domains hosted on GoDaddy.

Aug 20, 2009 8:03 AM
Report abusive comment

How do I make my Google app be at www.mydomain.com?

It seems like I can have my app at x.mydomain.com, or I could forward mydomain.com to x.mydomain.com, or I could mask, so all pages have the url be mydomain.com, but how do I just upload my app to mydomain.com so it works like any normal site?
Thanks!

Jul 22, 2009 9:00 AM
Report abusive comment

what if i want to enable the "www." in my domain name?

hello and what a great article!

i just want to make sure when i type my domain name in and use the "www." before it, it will still show up. can you please help me figure out how to ensure it works?

are the godaddy features the same as enom's? all my other domains are through google, and they are powered by godaddy. this time google gave me an enom domain. i am looking for the masking feature.

thanks in advance!

Last edited Sep 18, 2009 1:05 PM
Report abusive comment

Using Google Sites?

I know the sage Larry H explicitly indicated "I will only respond to those also using GApps" so a question for the comments: Any suggestions on getting this to work with a Google Sites site? I set my GoDaddy CNAME for www to @ and setup forwarding to http://www.alcmohammedia.org as per these instructions but that doesn't seem to be doing the trick. Thanks! :)

Last edited Apr 22, 2009 9:24 AM
Report abusive comment