I want to ask the community for feedback on my plan to address the following issue
When my project first starts as a google app engine, I have assigned
www.mycompany.com as the custom domain of the production instance of my GAE app.
As the project grows, we deployed a wordpress powered managed VM in google compute to host blog and other marketing artefacts. The domain name of the wp site is
It causes a lot of confusion to users because
www.mycompany.com/home will reach the web app, but
www.mycompany.com redirects users to
about.mycompany.com. Once they reached
about.mycompany.com, they have trouble to get back to
This behaviour of
www.mycompany.com is controlled by the yaml file of the google app engine project.
The subdomain 'blog' should be eliminated
www.mycompany.com/ -> blog/marking site
www.mycompany.com/home -> web app
My proposed solution
- Set up a google load balancer to do url mapping
- The load balance redirects '/' to the wordpress VM instance
- The load balance redirects '/home' to the app engine server which will be moved to app.mycompany.com
Because google load balancer can only redirect to either managed or unmanaged instances within the google compute project, in order to achieve point 3 I will create an instance group of webservers (could be a
lighttpd) whose sole responsibility is to redirect all incoming url to the app engine server
Is this feasible? Is there any catch?