1 個回答
- 最新
- 最多得票
- 最多評論
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>
相關內容
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 3 年前
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.