GuidesCustom domains & HTTPS
Add the domain to the service
Add the custom domain with the CLI, the API or a blueprint. The proxy routes it immediately.
ferry domains add shop shop.example.com
# Added shop.example.com. Point its DNS (A/AAAA or CNAME) at this server.
ferry domains add shop www.example.comYou can also give --domain to ferry create, ferry update and ferry up. You can repeat it.
The proxy routes the domain immediately. No deploy is necessary.
Domains that Ferry refuses
- A name that is not valid.
- An IP address.
- The default host of a service:
<name>.<domain>under a domain of the server. - The dashboard host.
- A domain that another service has.
Remove a domain
ferry domains rm shop www.example.comThe proxy stops the route immediately.