Domains & Hostnames
Assign custom domain names to your Odoo services.
By default, your Odoo services are accessible via a system-generated URL. But for production use, you'll want to assign your own domain name — like erp.yourcompany.com — so your team and customers can access Odoo at a professional, memorable address.
#How it works
hav.sh uses Traefik as a reverse proxy on each server. When you add a hostname to a service, Traefik automatically:
- Routes web traffic from that domain to the correct Odoo container
- Handles SSL/TLS certificates for secure HTTPS access
- Manages multiple domains on the same server
#What you need
To use a custom domain, you need:
- A domain name you own (e.g.,
yourcompany.com) - Access to your domain's DNS settings (at your registrar or DNS provider)
- A running Odoo service in hav.sh
#Multiple domains
You can assign multiple hostnames to the same service. This is useful for:
- Different subdomains for different purposes (e.g.,
erp.company.comandstaging-erp.company.com) - Handling both
wwwand non-wwwversions - Transitioning from an old domain to a new one