Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am trying to configure my domain to forward to my app engine application.

For the forwarding I can choose from "forward only" and "forward with masking". Assume my domain is called "myDomain.com" and my app is located at myApp.appspot.com. If I choose "forward only" and I go to myDomain.com, I get redirect to myApp.appspot.com (myApp.appspot.com also showing in the address bar -> But I want to show myDomain.com of course).

If I choose "forward with masking", "myDomain.com" is always shown in the address bar, even if I navigate to some subpage. The URL then should look like e.g.: "myDomain.com#!page:xyz", but still shows "myDomain.com".

Is there some way in the middle?

enter image description here

share|improve this question

2 Answers 2

The "masking" capability uses an IFRAME. That's indeed probably not what you want.

The easiest is to have your own Apache settings, maybe with a VPS since those are pretty cheap ($20/mo. these days). That way you do not have to bother with such forwarding features. You can do all your setup directly in your Apache, DNS, etc.

share|improve this answer
  • Forward only -- Use 301 redirects to redirect from myDomain.com to myApp.appspot.com
  • Forward with Masking -- Use frames to keep the URL as myDomain.com while instructing the browser to fetch the content from myApp.appspot.com. The URL then doesn't change as you navigate the site.

Forwarding (of any type) is not what you want.

You actually want your content to be served from your custom domain name. The Google App Engine (for appspot.com) does support custom domains. There is a help document with instructions for setting up a custom domain. Follow those instructions to have the app engine serve the content from your own domain name.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.