HTTPS redirect
Enter a domain above to run this check.
Request http://<domain> and check whether it redirects to HTTPS with a permanent code (301 or 308) and to the right host for HSTS preload.
Runs only this check. For all 33 checks at once, use the full Domain X-Ray. Public lookups only; nothing is stored on the server.
Enter a domain above to run this check.
Requests http://<domain> and checks whether it redirects to HTTPS, and with which code.
Whoever types just the domain arrives over HTTP. Without a redirect, the first page travels unencrypted.
ERROR and TIMEOUT mean the query did not finish (the source was down or slow), not a problem with the domain: run the check again.
Redirect all HTTP to HTTPS with a 301. On Cloudflare, turn on Always Use HTTPS in SSL/TLS › Edge Certificates.
# nginx
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
# Apache (.htaccess)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Would rather have someone else do it? Bit Happens can fix this →
Full Domain X-Ray: all 33 DNS, email, HTTPS, certificate and reputation checks at once →