That's a good idea, thanks, but although I'm using PHP on the backend via 
AJAX, my pages are actually all static (and in fact it's mostly a single 
page app with different views contained in one HTML and JS file) and served 
by CDN so I'm wondering if there's another way that doesn't rely on 
server-side processing...

Thanks

On Thursday, April 21, 2016 at 4:23:16 PM UTC+1, Mihail Russu wrote:
>
> 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 [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/a785d27e-20f9-4962-bb5b-6349db28b808%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to