Adding a Domain

Point your own domain name to an Odoo service.

Follow these steps to assign a custom domain to one of your Odoo services.

#Step-by-step guide

#1. Configure DNS

At your domain registrar or DNS provider, create a DNS record pointing to your server:

  • Type: A record
  • Name: The subdomain you want (e.g., erp for erp.yourcompany.com)
  • Value: The IP address of the server hosting your Odoo service

DNS changes can take up to 24 hours to propagate, though they usually take effect within minutes.

#2. Add the hostname in hav.sh

  1. Navigate to your Odoo service
  2. Click the Hostnames tab
  3. Click Add Hostname
  4. Enter the full domain name (e.g., erp.yourcompany.com)

#3. Verify and activate

hav.sh will configure the reverse proxy to route traffic from your domain to the service. An SSL certificate is provisioned automatically.

Your Odoo instance is now accessible at your custom domain with HTTPS enabled.

#Examples

Domain DNS Record Points to
erp.company.com A record: erp1.2.3.4 Your server IP
odoo.company.com A record: odoo1.2.3.4 Your server IP
company.com A record: @1.2.3.4 Your server IP (root domain)

#Troubleshooting

Domain not working after adding
  • Verify the DNS record points to the correct server IP
    • DNS changes may need time to propagate — wait a few minutes and try again
    • Check that ports 80 and 443 are open on your server
SSL certificate not working
  • Ensure the domain resolves to the server IP (DNS must be configured first)
    • Traefik requests certificates automatically, but it needs the domain to be reachable
    • Check the server's proxy status in the server dashboard
Want to use a root domain (no subdomain)?

Create an A record for @ (or leave the name blank, depending on your DNS provider) pointing to your server's IP address.