Mobile app version of vmapp.org
Login or Join
Jamie184

: Prioritize webhost for a domain? I have a sub domain( I do not own the domain) but using Cpanel I am able to set A, NS, Cname records for a sub domain. What I want to do is to associate

@Jamie184

Posted in: #Dns #Domains #Subdomain #WebHosting

I have a sub domain( I do not own the domain) but using Cpanel I am able to set A, NS, Cname records for a sub domain. What I want to do is to associate the subdomain with two webhost and prioritize them so that if the one with higher priority is down then the second webhost is used instead.

Now I have already set the NS records for both webhosts to the sub domain but I do not know if there exists a priority.

How do accomplish this task if it is possible?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jamie184

2 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

With A records, you cannot set a priority. In fact, some name servers will give out the IPs in a round-robin fashion. While others will send both IPs and the browser will try the first one.

What you need is a DNS fail-over service. This will not provide real-time redundancy but does help.

By combining a short time to live and a system that will automatically switch to your backup A record, you can get close to what you desire.

DNS Made Easy offers such a service:
www.dnsmadeeasy.com/services/dns-failover-system-monitoring/
I am sure there are other vendors but I've trusted our DNS to them for several years with few issues.

10% popularity Vote Up Vote Down


 

@Barnes591

No... No.. it seems you cant do that. If you point 2 different IP, I'm afraid it will make instability on your site, when you ping it, sometimes it will show IP address A, and sometimes it will show IP address B.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme