Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How are people using Google App-Engine apps with their own domains?

I've been fooling around with the Google App Engine for a few days and I have a little hobby application that I want to write and deploy.

However I'd like to set it up so that users are not directly accessing the app via appspot.com.

Is hosting it through Google Apps and then pointing it at my own domain the only way to go? I looked at that a little bit and it seemed like a pain to implement but maybe I'm just missing something.

My other thought was to write the app-engine piece as a more generic web-service.

Then I could have the user-facing piece be hosted anywhere, written in any language, and have it query the appspot.com url.

Anyone have any luck with the web-service approach?

like image 271
Mark Biek Avatar asked Oct 08 '08 19:10

Mark Biek


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 can I do with Google App Engine?

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.

Is Google App Engine and Google Cloud same?

Basic difference is that Google App Engine (GAE) is a Platform as a Service (PaaS) whereas Google Compute Engine (GCE) is an Infrastructure as a Service (IaaS). To run your application in GAE you just need to write your code and deploy it into GAE, no other headache.


1 Answers

The reason Google Apps is required is because you need somewhere to a) verify you own the domain (otherwise, you might point it at app engine, then I might hijack it by adding it to my account) and b) set up domain mappings (which subdomains point to which of your appengine apps).

Since this stuff already exists in Apps, it seems silly to duplicate it in AppEngine.

As has been pointed out, it doesn't cost anything, and you do not need to "move" anything to Google. You simple created a cname record with a random name to verify you own the domain, and a cname for the subdomain you wish to point at App Engine. This only takes a few minutes, and once it's done, it's done forever.

Note: If you host your site elsewhere and use webservices, you need to scale the site/frontend. If you host on app engine, you get this for free :-)

I wrote an article on my blog about redirecting *.appspot.com domains to your custom domain to keep your branding:

http://blog.dantup.com/2009/12/redirecting-requests-from-appid-appspot-com-to-a-custom-domain

like image 103
Danny Tuppeny Avatar answered Jan 03 '23 01:01

Danny Tuppeny