My custom domain redirect user to https://applicationid.appspot.com when i enable ssl

46 views
Skip to first unread message

pankaj arora

unread,
Apr 8, 2017, 9:11:54 AM4/8/17
to Google App Engine
I have already set up my custom domain on google app engine and it works fine .. i am using python standard environment.
yesterday I add SSL certificate and add 'secure: always' to app.yml file  .

1- now when i try to access my custom domain it redirect user to sub domain of appspot.com.

2- One more issue when i called naked domain .. it says page is not redirect properly 

if i remove  'secure: always'  from app.yml file  .every thing works fine but without https 

Any one can help me in this case.

Adam (Cloud Platform Support)

unread,
Apr 8, 2017, 3:36:25 PM4/8/17
to Google App Engine
You'd want to troubleshoot one thing at a time. Forgetting the  'secure: always' redirect, what happens when you just try to access your domain via HTTPS directly after configuring SSL? If that doesn't work, there's a problem with your SSL config, not the redirect.

Remember that you actually need to add specific DNS records to your domain's DNS configuration at the step 'Configure resource records for your domain' (see step 5 and 6 in the documentation). If you've done this, DNS records also need time to propagate. You can check propagation by using a tool like https://www.whatsmydns.net.
Reply all
Reply to author
Forward
0 new messages