How do I change the primary URL of my Google Sites website?

Ajedi32 picture Ajedi32 · Jan 24, 2013 · Viewed 13.3k times · Source

I have a Google site that is accessed using Google site's usual URL for sites they host: http://sites.google.com/site/<sitename>. I recently purchased a domain name for myself, and I set a subdomain of this new domain to point to my website hosted at Google Sites (sitename.mydomain.com). Unfortunately, Google and all the other search engines still point to pages at the old URL. Is there a way for me to make these search engines point to the new URL instead? Or alternately, is there a way to redirect users who visit the site at the old URL to the new one?

Answer

Jacobvdb picture Jacobvdb · Jan 26, 2013

More ->
Manage Site->
From the left menu pick web address On this page you will find
http://sites.google.com/site/mygsite and
Add web address
Here you put your domain www.domain.com

Now where you registered your domain (www.domain.com) you will have to add a CNAME entry, which should look something like this.

name                      Type               Data
www.domain.com   CNAME   ghs.googlehosted.com
or
Host                     Type                     Content
www                    CNAME       ghs.googlehosted.com

Like this you get your domain mapped and like this long sites url does not show up anymore.

Now if you have another Gsite within your gmail account
http://sites.google.com/site/my2ndgsite
Which you want to add with the following mapping mysite.domain.com to your domain.

You need to add the Web Address to your Gsite just like above.
And where you have your domain registered you have to create another entry something like this

name                        Type               Data
mysite.domain.com   CNAME   ghs.googlehosted.com
or
Host                       Type                     Content
mysite                    CNAME       ghs.googlehosted.com

After this you will have to inform in the Google site that they can verify your domain mapping. And after that you will have to wait some time (24h) before actual mapping takes place.

Note I There used to be some domain registries that required a point (.) at the end of the ghs.googlehosted.com so it would be like this ghs.googlehosted.com.
Note II Before the hosted domain used to be like this ghs.google.com. I am not 100% sure if that is not used anymore.