Securing CyberPanel

To secure the panel using SSL, is the only way to do so by creating nameservers for a domain and then changing them in your domain registrar? And then creating panel.yourdomain.com?

I issued an SSL for the hostname I created. Is there a way to block access or the login page to CP through the IP http://[IP_ADDRESS]:8090/