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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With