New Website 404 error default index.html is not working

Hello,

Provider: Hamed

System: CentOS Linux release 7.6.1810 (Core)

Installation option: since during the installation.
there will be few option to choose,so please provide it as well.

OLS

Installed from official server

Replace JS/CSS files to JS Delivr?
no

Install Memcached extension for PHP?
yes

Install LiteSpeed Memcached?
yes

Install Memcached?
yes

Install Redis extension for PHP?
yes

Install Redis?
yes

Problem:

I just installed cyberpanel , my first website is running but i just created another one and i get “404 Not Found The resource requested could not be found on this server!” error, defualr index.html is not working
any help?

I tried restart on OLS but nothing changed

Take a look at https://cyberpanel.net/2018/09/10/openlitespeed-v1-4-38-has-been-released/

Hi there, i checked ,Nothing changed , autoload is enabled by default, by the way i am not uploaded anything yet, your default cyberpanel static index.html is not showing up, please help

my vHost:

docRoot $VH_ROOT/public_html
vhDomain $VH_NAME
vhAliases www.$VH_NAME
adminEmails [email protected]
enableGzip 1
enableIpGeo 1

index {
useServer 0
indexFiles index.php, index.html
}

errorlog $VH_ROOT/logs/$VH_NAME.error_log {
useServer 0
logLevel ERROR
rollingSize 10M
}

accesslog $VH_ROOT/logs/$VH_NAME.access_log {
useServer 0
logFormat “%v %h %l %u %t “%r” %>s %b”
logHeaders 5
rollingSize 10M
keepDays 10 compressArchive 1
}

scripthandler {
add lsapi:marli php
}

extprocessor marli {
type lsapi
address UDS://tmp/lshttpd/marli.sock
maxConns 10
env LSAPI_CHILDREN=10
initTimeout 600
retryTimeout 0
persistConn 1
pcKeepAliveTimeout 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp73/bin/lsphp
extUser marli
extGroup marli
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}

phpIniOverride {
php_admin_value open_basedir “/tmp:$VH_ROOT”
}

rewrite {
enable 1
autoLoadHtaccess 1
logLevel 9
}

i am wonder, only one domain has this issue, i just added more websites, “CyberPanel Installed” message is showing up for other domains.

Any idea?

i found my issue, it was dns issue related to cloudflare

@Anzalichi kindly share with me what did you do to solve your issue, I have a similar issue here 404 Not Found On A Domain With Just Index.HTML & Zip File

1 Like