I have a dedicated server and I want to buy a VPS for backup purposes.
Not for copying backup files, my idea is to have a site replicated in two servers (in the dedicated server and in the vps).
So I want to setup my domain with alternative nameservers that will be located at the VPS.
So my domain will look like this:
www.domain.com
ns1.domain.com
ns2.domain.com
ns1.vpsname.com
ns2.vpsname.com
In case of failure the DNS will start to resolve the alternative ones isnt it? ns1.vpsname.com and ns2.vpsname.com, showing the website online and email accounts keep working.
So when the main DNS is up again, when you request the site it will see that the main DNS are up and will show the site that is stored at the dedicated server.
Am I wrong or is ok?
For the other side, is there a way to restore a backup in the VPS, but only restore the email accounts and domain without data? Cause cpanel when you restore an account it deflates the homedir with all the content and I want to do is to restore domain (without the info at public_html) and the mail accounts.
I think cpanel didnt implemented this yet, but It would be nice to have it as a feature.
Thanks!
Not for copying backup files, my idea is to have a site replicated in two servers (in the dedicated server and in the vps).
So I want to setup my domain with alternative nameservers that will be located at the VPS.
So my domain will look like this:
www.domain.com
ns1.domain.com
ns2.domain.com
ns1.vpsname.com
ns2.vpsname.com
In case of failure the DNS will start to resolve the alternative ones isnt it? ns1.vpsname.com and ns2.vpsname.com, showing the website online and email accounts keep working.
So when the main DNS is up again, when you request the site it will see that the main DNS are up and will show the site that is stored at the dedicated server.
Am I wrong or is ok?
For the other side, is there a way to restore a backup in the VPS, but only restore the email accounts and domain without data? Cause cpanel when you restore an account it deflates the homedir with all the content and I want to do is to restore domain (without the info at public_html) and the mail accounts.
I think cpanel didnt implemented this yet, but It would be nice to have it as a feature.
Thanks!