Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to map multiple domains to single Google App Engine application?

I'm developing CMS System that can serve multiple sites at same time, is it possible to map multiple domains to single Google App Engine application?

like image 465
newbie Avatar asked Feb 25 '11 10:02

newbie


People also ask

How many App Engine applications can be created in a project?

Deployment. Let's first take a quick look into how we deploy these five applications to App Engine. In App Engine, we can create a single Application per project.


1 Answers

Yes you can.

Even better, there is support for "multitenancy", where you app is automatically partitioned to support multiple domains/namespaces.

What this means is that major APIs support multitenancy (datastore, tasks, memcache), where for each namespace you get a separate "instance" of the API. For example: Domain1 will only see Entities that it created, and domain2 will see it's own.

This means that you don't need to do namespace separation by hand in your code. You do this via a simple servlet Filter by mapping a domain to a namespace.

like image 129
Peter Knego Avatar answered Sep 18 '22 13:09

Peter Knego