Can appengine be used for a Saas where customers have their own subdomain or point their own custom domain to my appengine app?

已查看 165 次
跳至第一个未读帖子

Gitted

未读,
2014年5月12日 18:13:442014/5/12
收件人 google-a...@googlegroups.com

If my application is hosted on appengine, will it allow me to create the following:

1. Each customer will have their own subdomain like:   
   


2. Each customer will point their own custom domain name (DNS A-Record I believe) to my app-engine-app:

   www.custom-domain1.com  => app-engine app


Is this possible currently?


Thanks!

Barry Hunter

未读,
2014年5月12日 18:22:262014/5/12
收件人 google-appengine
On 12 May 2014 23:13, Gitted <sahme...@gmail.com> wrote:

If my application is hosted on appengine, will it allow me to create the following:

1. Each customer will have their own subdomain like:   
   

Can set this up, in the new cloud console
(thats talking about for naked domains, but the same procedure should wor for any domain - even its technically a subdomain) 

Not sure if can setup a wild-card mapping, or will have to do it for each individual subdomain. 

... you will first have to validate example.com, but the page should walk you though it. 

 


2. Each customer will point their own custom domain name (DNS A-Record I believe) to my app-engine-app:

   www.custom-domain1.com  => app-engine app

This can again be done via the same process as above. You will need to work with the owner to verify the domain so you can use it. 

while it can sort of work by adding a A record, it would be better done as a CNAME record, again the cloud console page will give you the settings. 




 


Is this possible currently?


Thanks!

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Gitted

未读,
2015年12月10日 10:22:292015/12/10
收件人 Google App Engine
Do you get a static ip address for your GAE application or is it a dynamic IP because of load balancing?

I'm not sure why I have to set anything up in the console, is should be all handled by my application code no?

e.g.  I get a request, lookup the domain in the database and then I know which customerId it is.

Barry Hunter

未读,
2015年12月10日 10:34:312015/12/10
收件人 google-appengine
On 10 December 2015 at 15:22, Gitted <sahme...@gmail.com> wrote:
Do you get a static ip address for your GAE application or is it a dynamic IP because of load balancing?

For naked domains you should be given static IP addresses (because cant use CNAMES for most) 

For subdomains you may be given a CNAME. 
 

I'm not sure why I have to set anything up in the console, is should be all handled by my application code no?

The frontend 'load-balancers' need to know the domain -> app-id mapping. They need to know which domain(s) should be handled by your app. 

You dont get a unique ids just for your domain (perhaps unless you have VIP SSL- but will probably still to add mappings. The VIP is just for SSL Certificate selection. )
 

e.g.  I get a request, lookup the domain in the database and then I know which customerId it is.

Yes, your app may well need to do that too. 

 

Renzo Nuccitelli

未读,
2015年12月14日 18:39:292015/12/14
收件人 Google App Engine
For data base and other related services like memcache and tasks you are going to use the namespaces API: https://cloud.google.com/appengine/docs/python/multitenancy/

Alex Martelli

未读,
2015年12月14日 18:50:242015/12/14
收件人 google-a...@googlegroups.com
On Thu, Dec 10, 2015 at 7:33 AM, Barry Hunter <barryb...@gmail.com> wrote:


On 10 December 2015 at 15:22, Gitted <sahme...@gmail.com> wrote:
Do you get a static ip address for your GAE application or is it a dynamic IP because of load balancing?

For naked domains you should be given static IP addresses (because cant use CNAMES for most) 

As mentioned at https://cloud.google.com/appengine/kb/?hl=en#static-ip , "App Engine does not currently provide a way to map static IP addresses to an application".


Alex

 
回复全部
回复作者
转发
0 个新帖子