Redirect Domain HTTP to HTTPS on CyberPanel

Paksa domain redirect http to https pada cyberpanel

  • Login dashboard cyberpanel > Website > List Domains > Manage Domains
  • Configurations: Rewrite Rules > Masukan script http to https > Save Rewrite Rules
rewriteCond %{HTTPS} !on
rewriteCond %{HTTP:X-Forwarded-Proto} !https
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]


A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.