404 not found after installed cyberpanal

I try to install cyberpanal in digitalocean droplet, but it does not install successfully.

After that when i visited my website a ‘404 not found’ default page from LiteSpeed is shown. Also the Apache is not running

Sample Image

It sounds like you’re having some issues with your CyberPanel installation on a DigitalOcean droplet. The “404 Not Found” error and Apache not running might indicate that the installation didn’t complete successfully or there are configuration issues. Here are some steps to troubleshoot and resolve the problem:

1. Check Installation Logs

Look for logs related to the CyberPanel installation. They may provide insight into what went wrong. You can typically find installation logs in:

/var/log/cyberpanel-install.log

2. Verify Services

Check the status of LiteSpeed and Apache to see if they’re running or if there are any errors:

systemctl status lscpd
systemctl status httpd

If Apache is not running, you can try to start it:

systemctl start httpd

3. Check Web Server Configuration

If LiteSpeed is running, ensure that the virtual host is configured correctly. Look for the configuration files in:

/etc/litespeed/

Ensure that your domain or application is correctly set up in the LiteSpeed admin panel.

4. Reinstall CyberPanel

If the installation did not complete successfully, consider reinstalling CyberPanel. Before doing so, you might want to clean up the previous installation:

sh <(curl -s https://cyberpanel.net/install.sh)

Make sure to follow the prompts carefully during the installation process.

5. Check Domain DNS

Ensure your domain’s DNS records are correctly pointing to your DigitalOcean droplet’s IP address. Use tools like nslookup or online DNS checkers to verify.

6. Firewall Settings

Make sure your firewall settings allow traffic on the necessary ports (e.g., 80 for HTTP and 443 for HTTPS). You can check firewall rules using:

ufw status

To allow HTTP and HTTPS, use:

ufw allow 'Nginx Full'  # Or 'Apache Full' if you're using Apache

7. Access CyberPanel Admin

Once you ensure services are running, you can access CyberPanel through:

http://your-server-ip:8090

Use the default login credentials or those you set during installation.

8. Review Server Resources

Ensure your droplet has enough resources (RAM, CPU) to run CyberPanel smoothly, as low resources can lead to service failures.

9. Check for Conflicting Services

If you previously had Apache or another web server running, it might conflict with LiteSpeed. Ensure that only one web server is running to avoid conflicts.

10. Seek Help from CyberPanel Community

If the problem persists, consider reaching out to the CyberPanel community forums for more targeted assistance.

By following these steps, you should be able to diagnose and potentially resolve the issues with your CyberPanel installation. If you have specific error messages from the logs or outputs from these commands, feel free to share them for more tailored help!