Hi Nick, Thanks for answer. I've solved it by redirecting in webapp2 app.
Zdenko On Monday, January 16, 2017 at 1:41:54 AM UTC+1, Nickolas Daskalou wrote: > > 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" <[email protected] <javascript:>> > 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-ssl >> What 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 >> >> <https://groups.google.com/d/msgid/google-appengine/1c82649c-fa41-4c4c-a061-770e2c147ee8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/0c274296-a2a1-44c1-9f50-9081f8a4343b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
