Re-direct websites doesn't work

abasto

Registered
Aug 26, 2021
2
0
1
USA
cPanel Access Level
Root Administrator
Hello,

Recently we had to update cPanel and Apache to Apache 4. Since then, my re-direct websites aren't working as intended. Re-directs are set right and I also checked File Manager and all are in there.

Is there a way to troubleshoot this issue either within WHM or File Manager and see why some sites aren't working. I couldn't figure out but by the looks of it .htaccess file seems to point AddHandler application to


#AddHandler application/x-httpd-php5 .php


which seems accurate.
I looked at specific HTML file that wasn't working and I couldn't figure it out. When I launch the page, it says:
Sorry, we couldn't find this page.

Any help is much appreciated as support isn't doing great in assisting me with this issue.
Thank you so much in advance.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,496
1,009
313
cPanel Access Level
Root Administrator
Hey there! I'd like to clarify that the current Apache version is 2.4, with the latest version being 2.4.48 as of the time of this post.

The first thing I would check would be the Apache error logs at /etc/apache2/logs/error_log to see if there is anything being written there when the error happens in your browser. If you're getting a 404 or some other error, I'd expect something to be logged there.
 

abasto

Registered
Aug 26, 2021
2
0
1
USA
cPanel Access Level
Root Administrator
Sorry you are right regarding apache. I just get an error that says sorry, we couldn't find this page.

I think PHP is the cause but don't know where to check the issue and errors.