Custom Domains
Every site on Hostwares can have one or more custom domains. Add them from the site settings or via the AI assistant.
Adding a domain via Dashboard
- Go to Dashboard → Sites → [Your Site] → Domains
- Click Add Domain
- Enter your domain (e.g.,
example.comorapp.example.com) - Follow the DNS instructions shown
- Wait for verification (usually 5-30 minutes)
Adding a domain via AI
"Add domain example.com to my-site"
"Configure myapp.example.com for my-site"
"Add www.example.com as an alias for my-site"DNS Setup
Point your domain to Hostwares by adding DNS records at your domain registrar.
Root domain (example.com)
Type: A
Name: @ (or leave blank)
Value: <server-ip> (shown in your dashboard)
TTL: 3600Subdomain (app.example.com)
Type: A
Name: app
Value: <server-ip>
TTL: 3600WWW redirect
Type: CNAME
Name: www
Value: example.com (your root domain)
TTL: 3600DNS propagation
After adding records:
- Typical time: 5-30 minutes
- Maximum: Up to 48 hours globally
- Verify: Use
dig example.com +shortor ask the AI"Check DNS for my-site"
Subdomains
You can assign any subdomain to any of your sites:
api.example.com→ Your API serverapp.example.com→ Your frontendstaging.example.com→ Staging environmentdocs.example.com→ Documentation site
Each subdomain needs its own A record pointing to the Hostwares server IP.
SSL Certificates
Free SSL certificates are automatically provisioned via Let's Encrypt.
How it works
- You add a domain to your site
- DNS verification confirms the domain points to Hostwares
- Let's Encrypt issues a certificate (2-10 minutes)
- HTTPS is enabled automatically
- HTTP traffic is redirected to HTTPS
Certificate features
- Auto-renewal: Certificates renew 30 days before expiry
- Wildcard support: Available on Business plan (
*.example.com) - Multiple domains: Each domain gets its own certificate
- Grade A+: TLS 1.2+ with modern cipher suites
Checking SSL status
- Dashboard: Site → Domains shows certificate status
- AI:
"Check SSL status for my-site" - Browser: Click the lock icon to view certificate details
Cloudflare Setup
If using Cloudflare as your DNS provider, follow these steps carefully:
Initial setup (DNS Only mode)
- Add your A record in Cloudflare
- Set proxy status to DNS only (gray cloud icon)
- Wait for Hostwares to issue the SSL certificate
- Verify HTTPS works on your domain
After SSL is active (Enable proxy)
- Toggle the A record to Proxied (orange cloud)
- In Cloudflare SSL settings, set mode to Full (Strict)
- Enable Always Use HTTPS
- Enable Automatic HTTPS Rewrites
Common Cloudflare issues
- Redirect loops: Ensure SSL mode is "Full (Strict)", not "Flexible"
- SSL not issuing: Temporarily disable Cloudflare proxy (gray cloud)
- Mixed content: Enable "Automatic HTTPS Rewrites" in Cloudflare
Multiple Domains
A single site can have multiple domains pointing to it. Use cases:
example.com+www.example.com(most common)myapp.com+myapp.co(multiple TLDs)old-domain.com→ redirects tonew-domain.com
All domains get their own SSL certificate automatically.
Popular DNS Providers
Quick links to DNS management for common registrars:
- Namecheap: Domain List → Manage → Advanced DNS
- GoDaddy: My Products → DNS Management
- Cloudflare: Websites → DNS → Records
- Google Domains: DNS → Custom Records
- Route 53: Hosted Zones → Create Record
Troubleshooting
- Domain not resolving: Check A record value, wait for propagation
- SSL pending: Ensure DNS points directly to Hostwares (not proxied)
- Redirect loop: Check Cloudflare SSL mode or remove app-level redirects
- Wrong site showing: Verify domain is assigned to the correct site
- Certificate error: Try clearing browser cache or check in incognito
For detailed troubleshooting, see the Troubleshooting guide.