DNS Question

Hello, I have a website hosted on a dedicated server. But sometimes server goes down and I have a backup shared hosting package that I want to use.
I want to use following nameservers:


How will it work? I don’t want visitors to go on shared hosting when dedicated server is working. I want them to go there only when dedicated one is down. Is there any alternative way?

Do a search on failover for how to get the functionality you want.

Maybe this will help you.