Add Custom Domain
Use your own domain (like erp.yourcompany.com) instead of the default OEC.SH subdomain.
Plan Required: Pro or higher
Step 1: Get Your Server IP
- Open your environment
- Note the Server information
- Find the server's IP address in Servers section
Step 2: Configure DNS
At your domain registrar (GoDaddy, Cloudflare, Namecheap, etc.):
Option A: A Record (Recommended)
- Go to DNS settings for your domain
- Add an A record:
- Host/Name:
erp(or your subdomain) - Value: Your server's IP address
- TTL: 300 (5 minutes)
- Host/Name:
Example: erp.yourcompany.com → 165.22.65.97
Option B: CNAME Record
- Add a CNAME record:
- Host/Name:
erp - Value: Your OEC.SH subdomain (e.g.,
myproject-prod-1234.apps.oec.sh)
- Host/Name:
Note: CNAME doesn't work for root domains (use A record for
yourcompany.com).
Step 3: Add Domain in OEC.SH
- Open your environment
- Go to Settings → Domain
- In Custom Domain field, enter your domain:
erp.yourcompany.com
- Click Save
- Click Deploy to apply changes
Step 4: Wait for SSL
OEC.SH automatically provisions an SSL certificate via Let's Encrypt.
- After deployment, check the domain status
- SSL provisioning takes 1-5 minutes
- Once complete, your domain works with HTTPS
Verify It's Working
- Visit
https://erp.yourcompany.com - You should see your Odoo instance
- Check for the lock icon (🔒) in browser
Troubleshooting
"DNS not propagated yet"
DNS changes can take 5-30 minutes (sometimes up to 48 hours).
Check propagation: whatsmydns.net (opens in a new tab)
"SSL certificate failed"
Common causes:
- DNS not pointing to correct IP
- Domain has CAA records blocking Let's Encrypt
- Rate limit hit (wait 1 hour and retry)
"Site not reachable"
- Verify DNS is pointing to correct server IP
- Check server firewall allows ports 80 and 443
- Ensure environment is running (🟢 status)
Using Multiple Domains
You can have both:
- System subdomain:
myproject-prod-1234.apps.oec.sh - Custom domain:
erp.yourcompany.com
Both work simultaneously and point to the same environment.
Agency Domains (Enterprise)
If you're on an Enterprise plan with an agency domain configured:
- Go to Settings → Domain
- Enter your Agency Subdomain (e.g.,
clientname) - Result:
clientname.youragency.com
This lets you white-label deployments for clients.
What's Next?
- Scale Resources - Handle more traffic
- Set Up Backups - Protect your data