Are wildcard subdomains and thousands of domains pointing to my domain supported?

176 views
Skip to first unread message

Gitted

unread,
Dec 7, 2015, 11:47:04 AM12/7/15
to Google App Engine

Hi,

If I want to build a SaaS application using appengine, all of my customers would either be using a sub-domain or their own custom domain.

Would this be something that app-engine could support?

Say my service uses the domain example.com.

My customers would then get their own subdomain like:



Or they would use their own domain, and then point their domain to my service like:



Hope this makes sense and someone can answer this for me.

Patrice (Cloud Platform Support)

unread,
Dec 8, 2015, 12:00:10 PM12/8/15
to Google App Engine
Hi,

It is definitely a possibility, but it depends on what you're using to host. Do you code applications for your users and then deploy on App Engine, or do you simply host their data in a GCS bucket (or a GCE instance)? 

We'd need more information into what you are doing precisely. I think in the meantime, this article will help out a bit.

Cheers! 

Gitted

unread,
Dec 11, 2015, 10:26:16 AM12/11/15
to Google App Engine
Hello,

The application will run in my GAE account 100%.  The only thing I will have to ask the client to do if they want to use their own custom domain (or subdomain) is to point it to my GAE server via domain or ip-address.

So to summarize:

1. My company will code the application and deploy to my own GAE account for the domain www.exampe.com
2. The customers will choose their subdomain and then they can access the application at:  customer1.example.com
3. If the customer wants to use their own domain, they will have to point their domain to my GAE domain/ip address.
   They customer may point the domain e.g. www.customer1.com or they might create a subdomain like:  example.customer1.com

SSL has to be supported for both cases #2 and #3, but for #3 they will get their own SSL certification I would imagine.


So my question is, is the above possible?  
If yes, do I have to make a API call to your DNS service or something for a subdomain or their own custom domain to allow the request to go through your load-balancers?
Is there a limit to the # of subdomains or domains?  Say I want 10,000 of them?


Thanks.

Jeff Schnitzer

unread,
Dec 12, 2015, 6:35:04 PM12/12/15
to Google App Engine
I run a whitelabeled ecommerce system on GAE with hundreds (and growing) of custom domains. It can be done but there are a couple issues.

1) The onboarding process for each custom domain involves an extra "verify your ownership of the domain to google" step. There does not appear to be an API for this so it will involve handholding your partners through the DNS configuration process.

2) The data on the "domains associated with your app" screen for your project is wholly dependent on your *user account* and not the project itself. This is batshit crazy insane. The only solution to preserve your sanity is to create a fake user account and only ever touch the Custom Domains screen using that fake user. 

If you can live with a high-touch onboarding process, the benefits of GAE outweigh the shortcomings WRT custom domains. If you're trying to run a mass market solution like a public blog platform, GAE can't do it.

Jeff

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6a29d048-0750-4538-8aa5-5f6b0b82a0cf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jason Collins

unread,
Dec 14, 2015, 11:52:18 AM12/14/15
to Google App Engine
Here's my obligatory plug for an API to setup and manage custom domain mappings - please star it!

NP

unread,
Mar 19, 2019, 2:33:20 PM3/19/19
to Google App Engine
Hi,

Do you mind explaining how you do this?

Thanks
Reply all
Reply to author
Forward
0 new messages