404.html after installing new website

Hi
In cyberpanel 2.1 , after installing new website , just I access to home page , the other page gives me the
404.html error!
Why and how fix that?
image
Thanks

have you try old-way ?
put test.html
insert text inside test.html (anything)
then try http://domain.tld/text.html

this is the first thing we must do when we face 404

there is many cause and ofcourse more more solution

but if we want to know
we must troubleshoot from basic

1 Like

Yes you are corect
I fount the souloution , after add domain and installed the webstie , I must restart the OpenLitespeed webserver and after that all url working corectly
Thanks alot :wink: :kissing_heart:

this is should be not happen
perhaps @shoaibkk can explain

1 Like

When you are in open litespeed and made some changes in htaccess or move the site first time. after making any changes in htaccess you have to restart litespeed webserver to read it that’s why you need to do that. @MyIDKaTePe thanks for asking

3 Likes

You are welcome… that is your area :smiley: i just user. cannot explain why thats can be happen :smiley:
thankyou to explain it

Community power

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.

You have to restart because you are using open litespeed instead of litespeed enterprise, which can handle changes to htaccess and more.

1 Like