aaPanel Domain Not Pointing to VPS – DNS Fix (2026 Guide)
Did you:
✔ Install aaPanel
✔ Deploy your website
✔ Enter your VPS IP
But your domain:
❌ Shows old website
❌ Shows parking page
❌ Shows “Server not found”
❌ Shows wrong server
If you’re using:
This guide will fix your DNS properly.
—
🧠 Why Domain Doesn’t Point to VPS
Most common reasons:
❌ Wrong A record
❌ Nameservers not updated
❌ DNS still propagating
❌ Cloudflare misconfigured
❌ Domain not added inside aaPanel
❌ Firewall blocking port 80/443
—
✅ Step-by-Step DNS Fix (2026 Method)
—
🟢 STEP 1: Check VPS IP Address
Inside your VPS panel or aaPanel dashboard, confirm your public IP.
Example:
$$
123.45.67.89
$$
This must match your DNS A record.
—
🟢 STEP 2: Create Correct A Record
Go to your DNS provider.
If using:
Add:
$$
Type: A
Name: @
Value: YOUR_SERVER_IP
Proxy: (You can enable later)
$$
Also add:
$$
Type: A
Name: www
Value: YOUR_SERVER_IP
$$
Save changes.
—
🟢 STEP 3: Verify Nameservers
If using Cloudflare:
Make sure your domain registrar nameservers are set to:
$$
ns1.cloudflare.com
ns2.cloudflare.com
$$
If not updated → DNS won’t work.
Nameserver changes can take several hours.
—
🟢 STEP 4: Confirm Domain Added in aaPanel
Inside aaPanel:
Website → Add Site
Make sure domain is added exactly as:
$$
yourdomain.com
www.yourdomain.com
$$
If domain not added → aaPanel cannot serve it.
—
🟢 STEP 5: Check DNS Propagation
From terminal:
$$
dig yourdomain.com
$$
Or use online DNS checker.
If IP does not match VPS IP → DNS not propagated yet.
Propagation may take:
✔ 5 minutes
✔ Up to 24 hours
—
🟢 STEP 6: Check Firewall Ports
Inside aaPanel → Security:
Ensure ports open:
$$
80 (HTTP)
443 (HTTPS)
$$
If closed → site won’t load even if DNS correct.
—
🟢 STEP 7: Cloudflare Proxy Issues
If site shows:
✔ SSL error
✔ 521 error
✔ 522 timeout
Then check:
✔ SSL mode = Full (Strict)
✔ Server has SSL installed
✔ Server not blocking Cloudflare IP
Sometimes disable proxy temporarily (DNS Only) to test.
—
🔎 Advanced Checks
If still not working:
✔ Check Nginx running:
$$
systemctl status nginx
$$
✔ Restart web server:
$$
systemctl restart nginx
$$
✔ Check logs:
$$
/www/wwwlogs/yourdomain.com.log
$$
—
⚡ Quick DNS Fix Checklist
| Check | Done |
| Correct A record | ✅ |
| Nameservers correct | ✅ |
| Domain added in aaPanel | ✅ |
| Ports 80/443 open | ✅ |
| DNS propagated | ✅ |
| Web server running | ✅ |
—
🚀 Best DNS Setup (2026 Recommended)
✔ Use Cloudflare for DNS
✔ Enable Full (Strict) SSL
✔ Install Let’s Encrypt in aaPanel
✔ Use Nginx for better performance
✔ Enable HTTP/2
—
Web Development
#aaPanel
#DNSFix
#VPSHosting
#Cloudflare
#WebHosting
#DomainSetup
#ServerFix