Hello,
I added a domain to the panel so that I could enter the panel not by IP, but by domain, everything worked out.
Then I added the same domain to the site, generated a certificate, enabled force https, now I can't get into the control panel
net::ERR_CERT_AUTHORITY_INVALID
domainnameaapanel.com generally uses encryption to protect your information. When Chrome tried to connect to domainnameaapanel.com, it received unusual and incorrect credentials. This can happen when an attacker tries to impersonate domainnameaapanel.com or the connection is interrupted by the Wi-Fi login screen. Your information remains secure because Chrome terminated the connection before the data exchange began.
domainnameaapanel.com cannot be accessed at this time because the website uses the HSTS protocol. Network errors and attacks are usually temporary, so this page will most likely work later.