Subdomain troubleshooting
| Symptom | Check |
|---|---|
| NXDOMAIN | Authoritative nameservers and the subdomain DNS record; external DNS must be changed there |
| Wrong or default website | A/AAAA, target IP and whether the subdomain exists in the correct DirectAdmin account |
| 404 Not Found | Document root, filename and application rewrite rules |
| 403 Forbidden | Index file and directory/file permissions |
| Certificate mismatch | Exact name; *.example.com does not cover www.shop.example.com |
| Too many redirects | Duplicate redirect in DirectAdmin, application, CDN or .htaccess |
| Old content remains | DNS, browser and CDN caches, and the actual document root |
Quick check
- Check the exact name and remove an unintended
www. - Verify A and AAAA and compare the IP with the service server shown in WHMCS.
- Confirm the subdomain exists in DirectAdmin and note its document root.
- Place a simple test
index.htmlin that directory only if it will not overwrite a live site. - Check the domain error log before changing the application.
Details for support
Send the exact subdomain, error time, screenshot or full message, whether DNS is external, and the expected document root. Never send a password or private SSH key.