Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-27 Thread NoCommandLine -
I don’t know of specific documentation about this (apart from code suggestions/approaches on Stackoverflow). On a project which was written in Python (with Flask), we added the code to @app.before_request so it gets executed before each request to the Application (and redirected the user to

Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-27 Thread Glenn Richard
Thanks for your feedback, NoCommandLine. Personally, it's fine with me if someone finds a way into my site via the appspot domain name, so long as the custom name prevails in the address bar when it is used as the access method. But for those who read this thread and wish to redirect visitors

Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-27 Thread NoCommandLine -
Looks good. Glad you figured it out. Note: If for some reason someone goes directly to the .appspot link, it won’t automatically redirect to your custom domain. You need to have code that will handle this redirect. However, some people don’t worry about this based on the argument that the

Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-27 Thread Glenn Richard
Thanks, NoCommandLine, and David for your help. The redirect works correctly now. Following your advice, with assistance from links you provided, I re-performed the mapping process from scratch. For the benefit of others, I am providing the following summary of the steps that I believe were

Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-26 Thread NoCommandLine
You need to map both the naked domain and the sub domain. See this StackOverflow response (you can ignore the SSL bit) On Monday, April 26, 2021 at 3:25:51 PM UTC-7 Glenn Richard wrote: > Hi David, > > So,delving a little more into the problem,

Re: [google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-26 Thread Glenn Richard
Hi David, So,delving a little more into the problem, if I type the www subdomain of the custom name into the address bar, the custom name does appear there after redirection occurs. This leads me to believe that the problem is that I need to create another CNAME record for the naked domain. Where

[google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-26 Thread Glenn Richard
Thanks, David. I seem to be a bit lost. Thus far, redirection to the appspot address does occur, but the custom domain names are not remaining in the address bar, so I'm trying to configure the cname as instructed in the document. I believe that the instructions to which you are referring are

[google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-26 Thread 'David (Cloud Platform Support)' via Google App Engine
Hello, After properly following mapping custom domains and waiting for DNS propagation, you should be able to see these domain names within your address bar and it should not redirect you to the appspot.com

[google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-26 Thread Glenn Richard
I believe that's what I did originally, but in case I am mistaken, I have tried that again with one of the two purchased Google custom domains. After several steps, the process culminated with "DNS changes can take up to 24 hours to take effect. Your SSL certificate will take several minutes to

[google-appengine] Re: Redirected custom domain from Google does not show in browser address bar

2021-04-25 Thread NoCommandLine
Hi, >>> and have redirected them to my App Engine project addresses <<< How did you do this? Did you use the 'Add a Custom Domain' under App Engine > Settings? If you didn't, try that method On Sunday, April 25, 2021 at 6:09:30 AM UTC-7 Glenn Richard wrote: > I purchased two custom domains