1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello.
I don't think SSL certificates are used to protect IP addresses because they certify domains.
Therefore, I think it is a good idea to configure the web server to redirect to "HTTPS://Domain.com" when an HTTP access occurs using an IP address.
For example, if you use Apache, if you configure the following settings, when an access using an IP address occurs, it will be redirected to the domain.
<VirtualHost *:80>
ServerName [IP Address]
RewriteRule ^/(.*) https://domain.com/$1 [R=302,L]
</VirtualHost>
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 9 mois
I am on a Debian GNU/Linux Server and I used
sudo /opt/bitnami/bncert-tool
to set up the SSL will that work to create a redirect from a public static ip> to the domain?
From what I remember, that command set up a domain redirect from HTTP to HTTPS, but I don't think it set up a redirect from an IP address to a domain.