Community

Closed 404.html after installing new website

an
antivirusadmin #1

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

MK
Mirza Khadnezar S [sick] #2

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

an
antivirusadmin #3

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:

MK
Mirza Khadnezar S [sick] #4

this is should be not happen
perhaps @shoaibkk can explain

sh
shoaibkk #5

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

MK
Mirza Khadnezar S [sick] #6

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

Ni
Nick #8

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

This topic is closed to new replies.