Changing server

Hello,

I have several domains on Ubuntu 16.04 and I’ve generated the certificates for all domains using this command:

certbot certonly --webroot

I need to migrate the server to another location, thus an IP change is inevitable. I’m wondering if I need to do anything after the migration? Any specific command to adjust for the new IP?

Thanks for your time.

Hi @onicfox

a certificate with a domain name doesn't know something about an ip address.

So you can use the same certificate with different ip addresses.

Only the domain name of the connection should match the domain name in the certificate.

So there shouldn't be a problem.

There are certificates with ip addresses - https://1.1.1.1/ - Cloudflare. But that's not relevant if you have a certificate with domain names.

2 Likes

I don’t have any certificates with ip addresses. Thanks for the response. :slight_smile:

2 Likes

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