Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine and domain name

Here is the situation:

I own a Google Apps for Business account.

I have two domain names registered :

  • mycompany.com which is the principal domain
  • myapp.com which is another domain

Note: both domains are validated and active.

I'm working on a Google App Engine web application and I want it to be accessible via myapp.com or www.myapp.com.

What I've done so far :

  • I've added the GAE web application as a service in my Google Apps account.
  • I've tried to change the url but myapp.com does'nt appear in the dropbox.

This thing starts to drive me mad...

like image 369
Nicolas Repiquet Avatar asked Jun 30 '11 08:06

Nicolas Repiquet


People also ask

How do I add my own domain to Google App Engine?

In the Google Cloud console, go to the Custom Domains tab of the App Engine Settings page. Click Add a custom domain. If your domain is already verified, the domain appears in the Select the domain you want to use section. Select the domain from the drop-down menu and click Continue.

Can I use my own domain with Google?

You can use a custom domain for a site published on new Google Sites. Using a custom domain can make it easier for people to find and remember your site with a web address like www.yourdomain.com. To use a custom domain for your site, you can: Select a domain from your Google Domains account (if you have one).

What are the components of Google App Engine?

The App Engine hierarchy has four components - application, services, versions, and instances. An application that the customer needs is a combination of multiple services, where each service can have various versions that are deployed in instances.


1 Answers

It doesn't seem possible ATM to bind an App Engine application on a Google Apps Secondary Domain (sounds like a bug).

But it works fine on Google Apps Domain Alias.

  • Go to https://www.google.com/a/cpanel/yourprimarydomain.com/DomainSettingsDomains
  • Click Add a domain alias or a domain
  • Select Add a domain alias of yourprimarydomain.com
  • Follow instructions to verify your domain
  • Go to your App Engine application dashboard
  • Go to Application Settings
  • Click Add Domain
  • Type the domain name of your primary Google Apps domain (not the alias)
  • Click Add new URL
  • Select your domain alias from the dropdown list
  • Click Add
  • You will be asked to add a CNAME to ghs.google.com in your DNS configuration

That should work.

like image 81
proppy Avatar answered Nov 22 '22 10:11

proppy