On your incoming requests in your PHP code check what hostname the request 
came to and depending on that decide what page to render...

On Thursday, April 21, 2016 at 6:19:18 PM UTC+3, Alex Kerr wrote:
>
> Hi,
>
> I have a custom domain set up for my GAE app (PHP) and want to add a 2nd 
> custom domain that points to a different homepage - so to the user appears 
> to be a separate site. I don't want to create a whole new app as the two 
> sites need to partially share Datastore and Cloud Storage backend.
>
> Adding a second custom domain appears to be easy in the Cloud Dashboard 
> settings, so I just need a way to point it to 
> myapp.appspot.com/second-home-page.html rather than just 
> myapp.appspot.com/ (which my first custom domain does of course).
>
> Many thanks,
> Alex
>
>

-- 
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-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/9c113c8c-daa2-453c-bb0d-31a61b8c54e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to