Given the following vapor.yml file:
id: XXXX
name: foo
environments:
production:
memory: 1024
cli-memory: 512
domain: service.name.domain.co.uk
build:
- 'composer install --no-dev --classmap-authoritative'
staging:
memory: 1024
cli-memory: 512
domain: stagingservice.name.domain.co.uk
build:
- 'composer install --classmap-authoritative'
I want to be able to deploy to whatever domain combination that I need to, but keep getting hit with:
Whoops! There were some problems with your request.
- [service.name.domain.co.uk] Please do not specify more than one subdomain.
What is the best way for me to go about having domains like this, or even going as far as fixing it?
Please send this to Vapor support.
@driesvints do you have a way for me to do that, will an email suffice, if so what is the address, please?
@samstreet help widget in the right below corner
I just reached out to support and received the following response, no indication of is its something that will be addressed or not...

hmmm we need the same thing :(
We'd also find this feature very useful, e.g. api.client.ourdomain.com
we want to have different domains for our services - different for staging and prod...
like so: next.[service-name].domain.com
This is probably not the right place to discuss this. Unfortunately Vapor doesn't supports this but maybe in the future it will.