404 Error

I did a fresh install of cyberpanel, added new website. But it’s not loading the index.html, instead it’s showing 404 error. I have not touched any settings at all after install.

Create a new file named


and copy paste this content in it and save.

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
1 Like