Hi,

In the note at the end of this post, you have specified that '-dot-' can be 
used with custom domain as well. I tried to use this but it doesn't seem to 
work with custom domains. I have a version "v1" in my service "service1". I 
am able to access this version using https://v1.service1.mydomain.com. 
However if I try to access using https://v1-dot-service1.mydomain.com, it 
gets redirected to the default service (not service1). Is there some 
configuration that I am missing?

Regards
Karthik

On Thursday, December 8, 2016 at 9:34:43 PM UTC+5:30, Jordan (Cloud 
Platform Support) wrote:
>
> Whenever you associate a new custom domain to your App Engine project, it 
> will always route to your Default service and version. Even if you 
> associate a subdomain to the project as you did, it will still route to the 
> default as the CNAME and A records are all the same. 
>
> The way to reach a different service or version without using a dispatch 
> file would be to use the full Routing URL 
> <https://cloud.google.com/appengine/docs/python/how-requests-are-routed#routing_via_url>
>  
> 'http://version.service.subdomain.customDomain.com'. In your case this 
> would look like 'http://*console*.console-sandbox.my-domain.store' to 
> have your subdomain 'console-sandbox.my-domain.store' route to the default 
> version of your 'console' service. 
>
> Alternatively, you can instead use a wildcard subdomain 
> <https://cloud.google.com/appengine/docs/python/console/using-custom-domains-and-ssl#using_subdomains>
>  
> '*' to allow App Engine to perform the routing of the URL to your specific 
> services and versions. 
>
> Note: If you have an SSL cert for your custom domain and want to use 
> HTTPS, the URL will use '-dot-' instead of actual '.', like so '
> https://version-dot-service-dot-customDomain.com' 
>

-- 
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+unsubscr...@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/1096d13f-bb7b-4af5-9bf8-0dc195cf9620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to