Hi Zdenko,
You'll need to do this at the application level, since Google App Engine does not provide this ability out of the box.
If you're using webapp2, there should be examples of redirecting naked domains to their www counterparts.
Alternatively, a quick and dirty fix would be to point your A record to the IP address listed on this page:
http://wwwizer.com/naked-domain-redirect
If you want the SSL redirect to work though, I think you will need to subscribe to wwwizer's paid plan.
Thanks,
Nick
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/1c82649c-fa41-4c4c-a061-770e2c147ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Zdenko,
You'll need to do this at the application level, since Google App Engine does not provide this ability out of the box.
If you're using webapp2, there should be examples of redirecting naked domains to their www counterparts.
Alternatively, a quick and dirty fix would be to point your A record to the IP address listed on this page:
http://wwwizer.com/naked-domain-redirect
If you want the SSL redirect to work though, I think you will need to subscribe to wwwizer's paid plan.
Thanks,
Nick
On 16/01/2017 10:08 AM, "Zdenko Hrcek" <zde...@gmail.com> wrote:
Greetings,--I am setting GAE Standard application to be served by custom domain based on docs https://cloud.google.com/appengine/docs/python/console/using-custom-domains-and-sslWhat I want to achieve is that naked domain "example.com" is automatically redirected to "www.example.com"Currently both naked and www domains are served by GAE. I am using also SSL certificates for both naked and www subdomain.For naked domain I have set up in DNS records four A and AAAA record types and CNAME ghs.googlehosted.com for www according instructions in docs.I'm little stuck with redirection issue, I'm just wandering if that is even possible in current setting. I would be grateful for any advice.Best regards,Zdenko
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
There is a detailed answer covering this subject at “Enable your "naked" domain address”. General information on the subject to be found at Using Custom Domains and SSL.
There is a detailed answer covering this subject at “Enable your "naked" domain address”. General information on the subject to be found at Using Custom Domains and SSL.
--
On Tue, Jan 17, 2017 at 1:42 AM, 'George (Cloud Platform Support)' via Google App Engine <google-appengine@googlegroups.com> wrote:--There is a detailed answer covering this subject at “Enable your "naked" domain address”. General information on the subject to be found at Using Custom Domains and SSL.
I am trying to get this going as well. We followed the official instructions and added the redirect in Google Apps.We also have the application always running SSL. So all permutations eventually redirect to www. our domain.Everything works (HTTP naked domain redirects to www. HTTP www. redirects to HTTPS www.) except when we head to the naked domain via HTTPS, it fails to redirect to HTTPS www.All DNS settings are as instructed.Any clues or does this particular use case have to be handled manually?
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CANgV5UyYXdwrrkV6babxUhYGbzBRW%2BRNjh5%3DPtGbnbVt0Z6_vw%40mail.gmail.com.
Hi Dev,Does your SSL certificate support the naked domain and have you added it for your naked domain via Google's cloud console?
What happens when you do visit the naked domain over HTTPS? It would help diagnose the problem if you sent a link to your domain.