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 https://subdomain.domain.com
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@<subdomain.domain.com>:443
Thanks in advance.