Automatic DNS (Recommended)
When you link a domain through NexusHost:
1.Go to your hosting instance detail page
2.Click "Link Domain"
3.Select a domain that you own in NexusHost
4.An A record is auto-created pointing to your server IP
This is the easiest and recommended approach.
Manual DNS Configuration
If your domain is registered elsewhere, configure these records:
Root Domain
| Type | Name | Value | TTL |
|---|---|---|---|
| A | @ | YOUR-SERVER-IP | 3600 |
WWW Subdomain
| Type | Name | Value | TTL |
|---|---|---|---|
| CNAME | www | yourdomain.com | 3600 |
Subdomains
For each subdomain (api, blog, app):
| Type | Name | Value | TTL |
|---|---|---|---|
| A | api | YOUR-SERVER-IP | 3600 |
| A | blog | YOUR-SERVER-IP | 3600 |
Email DNS (if hosting email on the server)
| Type | Name | Value | Priority |
|---|---|---|---|
| MX | @ | mail.yourdomain.com | 10 |
| A | YOUR-SERVER-IP | — | |
| TXT | @ | v=spf1 a mx ~all | — |
Verifying DNS
After setting records, verify propagation:
•Use https://dnschecker.org to check global propagation
•Or in terminal: dig yourdomain.com A
•DNS changes typically propagate in 1-4 hours (up to 48 in rare cases)
Multiple Domains on One Server
You can point multiple domains to the same server IP, then use virtual hosts (Apache) or server blocks (Nginx) to serve different content per domain.