I'm setting up a new server outside of its intended network. I do have control over DNS for this domain but obviously the IP address the server is currently at is not going to match the IP in DNS. Is there a way to work around this, or must the server be connected to its designated IP?
Thank You
Kevin
Since your domain has its DNS hosted with Cloudflare, you can do this pretty easily with certbot-dns-cloudflare, which should be available in Rocky Linux's repos (if that's how you installed Certbot).
Thank you for this suggestion, worked perfectly - a couple notes for others using this OS:
When creating the Cloudflare API token, along with the intended IP addresses, I had to add the server's current IP to that token for this to work. But it appears that the latter can be removed from the token once finished with this remote setup.
Also, I ran into an issue with the cloudflare.ini: "CloudFlareAPIError: profile/configuration read error". I tried placing this file in a couple different secure locations but the only folder I had success was in /etc/letsencrypt/.cloudflare.ini - anywhere else resulted in the above error.