If I change my server's IP address, how does that affect my SSH access when using Cloudflare?

Responsive Ad Header

Question

Grade: Education Subject: Support
If I change my server's IP address, how does that affect my SSH access when using Cloudflare?
Asked by:
93 Viewed 93 Answers

Answer (93)

Best Answer
(471)
Changing your server's IP address requires updating your DNS records. You'll need to update the A record for your domain (or subdomain) with your hosting provider's DNS settings to point to the new IP address. SSH access will continue to work as long as you connect to the server's *current* IP address, which you'll obtain from your hosting provider after the DNS propagation is complete. Cloudflare doesn't directly affect SSH once you're connecting to the correct IP.