Shared Hosting and Failover Server


#1

Hi,
How do you handle migration and/or failover in shared hosting environments (you just have access to the plesk panel, and no more i.e. root/admin/certbot/certificatefolders etc…).

For eg: I have a site on a shared hosting with a certain Webhost, as well as a copy of the site at another Webhost. So it looks like this.

  1. http://www.example.com hosted at Webhost-A (shared hosting).
  2. http://copy.example.com hosted at Webhost-B (shared hosting, another company).

The copy.example.com works as a test/failover/backup. So on normal days I use it for development / testing… but if/when there’s a problem at the main one i.e. Webhost-A, I swap DNS entries which then looks like this.

  1. http://copy.example.com hosted at Webhost-A (shared hosting).
  2. http://www.example.com hosted at Webhost-B (shared hosting, another company).

They both are plesk based and support LE integration. In fact the www in Webhost-A is already https:// . Now how to go about setting up the copy at Webhost-B. ?

Thanks,
Sham


#2

Hi,

I would suggest for the server 2, just request a copy.example.com certificate… also make a copy of your original website’s certificate. When the emergency happens, upload the original website’s certificate to the backup server…

Thank you


#3

Hi @Sham77

is it possible that your dns provider has an api, so you can create two wildcard-certificates with

*.example.com example.com

as domain names? If yes, you could use the certificate with www and copy.

But wildcard certificates require dns-01 - validation. Letsencrypt-certificates are only 90 days valide, so without automation it’s painful.


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.