IP address is not secure and does not redirect to the domain name.
I setup wordpress from the marketplace. When I type the name of my domain into the browser, I have a secure site, but when I type the IP address, it doesn't redirect and it is not secure. How can I fix this?
1 Reply
jhartman
Linode Staff
While this StackOverflow post suggests that it might be possible, this is not possible to achieve using CertBot/LetsEncrypt since it cannot generate an SSL certificate for "bare IP addresses":
That said, you might be able to create a server redirect within NGINX. Within the server block for your Fully Qualified Domain Name (FQDN), you could add another entry or alias so that your HTTP://$IPADRESS
resolves to HTTPS://$FQDN_WEBSITE