-
Notifications
You must be signed in to change notification settings - Fork 2
Error 404 after creating website
-
Visit OLS WebAmdin Console and Go to https://SERVER_URL:7080/index.php#view/confMgr.php?m=sl_Default
-
Ensure your website domain record is available under that list.
-
Restart OpenLiteSpeed using the ssh command
sudo service lsws reload
- Visit OLS WebAmdin Console and Go to https://SERVER_URL:7080/index.php#view/confMgr.php?m=vh_mywebsitedomain.com&p=g
Replace vh_mywebsitedomain.com with your own domain e.g. vh_yourdomainhere.com
-
Add
/public
suffix at end ofDocument Root
for Laravel based websites or whichever folder your want to serve your website files from. -
Restart OpenLiteSpeed using the ssh command
sudo service lsws reload
-
Visit CyberPanel Admin Panel and on the sidebar click Websites -> List Websites -> yourdomainhere.com -> File Manager
-
On File Manager click on Fix Permissions
-
If you are running a WordPress website change permalink settings and restart OpenLiteSpeed using the ssh command
sudo service lsws reload
-
Visit CyberPanel Admin Panel and on the sidebar click Websites -> List Websites -> yourdomainhere.com -> Rewrite Rules
-
Delete those rules and try again. The proper way to rewrite rules
Upgrade CyberPanel