If I am reading this correctly you would like to declare a service with a subdomain in its host name? I do not see any issues with that. in the URL option of a service resource when creating just do http://service1.api.example.com/ for example.
Now if you want your gateway hostname to support routing based on a fresh subdomain on the gateway itself Kong does not do that that I am aware of now.(ex: service1.kong-gateway.company.com/). And I see it really as an aesthetic and not a functional need?
You could point CNAME your service1.api.example.com to api.example.com and then have a Kong routing rule to route all requests with Host as service1.api.example.com to a service http://upstream/service1 .
I’m actually hoping you can help me with just getting SSL routed through to see our GUI dashboard and proxy URL. Did you setup a 443 listener and 8444 target group? or is there something else you need to do to get traffic through?
Hi when using subdomain should it be set in the host parameter when creating kong service or is this set in the host in kong route. I am using the latest kong 1.1. Thanks.