services.<name>.domains
Custom domains. They attach to the production environment unless set under environments.<env>.services.<svc>.domains.
- Type: list of hostname or object
- Since: manifest v1
Example
Section titled “Example”services: web: domains: - www.primecarers.co.uk - primecarers.co.ukFields
Section titled “Fields”services.<name>.domains[].host
Hostname.
- Type: hostname
- Required: yes
- Since: manifest v1
services: web: domains: - host: primecarers.co.ukredirect_to
Section titled “redirect_to”services.<name>.domains[].redirect_to
Redirect every request to this hostname (permanent redirect), instead of serving.
- Type: hostname
- Since: manifest v1
services: web: domains: - redirect_to: www.primecarers.co.ukSee also
Section titled “See also”- services: all fields of
services - guv.yaml reference