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:

  1. A domain name you own (e.g., yourcompany.com)
  2. Access to your domain's DNS settings (at your registrar or DNS provider)
  3. 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.com and staging-erp.company.com)
  • Handling both www and non-www versions
  • Transitioning from an old domain to a new one