Register PMM server again after setting hostname?

We have PMM working on an EC2 instance and can login using the IP address. It’s also able to connect to RDS and discover the DB instances we wish to monitor.

But, before configuring the monitoring, we set a hostname for the EC2 instance and made it a public DNS name by giving it an A record in Route53. Additionally, we created an SSL in ACM for this hostname so that we would login to PMM at

Previously, we had registered the PMM server by issuing the following command:

sudo pmm-admin config --server-insecure-tls --server-url=https://admin:admin@:443

My question is - Should we register the PMM server again with the following command to be able to login to PMM using the hostname?

sudo pmm-admin config --server-insecure-tls --server-url=https://admin:admin@<>:443

Thanks in advance.

You seem to be confused between “pmm server” and “pmm agent”. You do not register the server. You register agents to the server. Changing the hostname of the server has no effect on the agents if they were originally configured using IP of the server.

To answer your question, No, you do not need to re-register any agents.


Yes, I was confused, indeed. :slightly_smiling_face:

I figured it out, but wasn’t 100% sure, so your clarification helps a lot. Thanks!

1 Like