Root Domain Returns 404 but Preview works

currently we are facing a problem on using cyberpanel, the root domain retruns 404 with any url and the Preview works perfectly alright
OS: Ubuntu 22
website type : built using php (custom coded)
cyberpanel version latest stable version
File permissions are all perfect
.htaccess is also working fine(since empty )
we need solution for this asap
thanks in advance

  1. Add http to https redirect
  2. Restart Litespeed
  3. Check Modsecurity
  4. Use SSL

Check these.

i have done all of those but the issue is not that after updating the cyberpanel to newest version which is unsupported to my os versin caused this i reverted all the changes and it worked fine