Https://ipadress correct redirect

If I type in https://myipadress I get a warning that my website is improperly configured.
How can I redirect correctly if someone types in https://ipadres instead of my domainname?

Let’s Encrypt does not issue certificates for IP addresses, only domain names, so you won’t be able to redirect if anyone opens your site by IP and using HTTPS.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.