I would recommended moving your URL handler code into separate Services <https://cloud.google.com/appengine/docs/standard/python/an-overview-of-app-engine#services_the_building_blocks_of_app_engine> (e.g 'shoes.amazon.appspot.com'). Then you can upload a Dispatch <https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed#uploading_the_dispatch_file>configuration file which allows you to specify up to 20 specific routing rules <https://cloud.google.com/appengine/docs/standard/python/config/dispatchref> .
Alternatively, you can detect the ORIGIN Header of the incoming request and serve different content (e.g shoes,toys,etc.) depending on the Custom Domain that was requested. This method would not use individual '/shoes' URL handlers and would route all of your Custom Domains to the main ' https://amazon.appspot.com/' default handler (which would be the one performing the content serving logic). -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a472d0dd-6889-45da-94af-62b0239f5c18%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
