All websites show default cPanel screen

Circa

Registered
Jul 8, 2022
3
0
1
United States
cPanel Access Level
Root Administrator
I recently rebooted my VPS after upgrading WHM and when it came back up, none of my websites are loading. All I get are the default pages that say SORRY! If you are the owner of this website, please contact your hosting provider. I have rebooted again and checked that services are running. Double checked the correct IP is listed and DNS and the files are still there in the directories in the right place. it was working fine before the upgrade and reboot. Any ideas?

I submitted a ticket but figured I'd post here too in case there are quicker solutions. I wasn't able to expedite my ticket. (#94463658)
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,667
1,853
363
cPanel Access Level
Root Administrator
Hey there! I'm sorry to hear about this issue. If it's all the sites, can you try rebuilding the Apache configuration to see if that helps? The following commands make a backup, perform the rebuild, and restart the Apache service:

Code:
cp /etc/apache2/conf/httpd.conf{,.bak-`date +%Y%m%d`}
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
If not, our team will get to that ticket as soon as we can!
 

Circa

Registered
Jul 8, 2022
3
0
1
United States
cPanel Access Level
Root Administrator
Hey there! I'm sorry to hear about this issue. If it's all the sites, can you try rebuilding the Apache configuration to see if that helps? The following commands make a backup, perform the rebuild, and restart the Apache service:

Code:
cp /etc/apache2/conf/httpd.conf{,.bak-`date +%Y%m%d`}
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
If not, our team will get to that ticket as soon as we can!
That didn't seem to help. Thanks for the response though!
 

Circa

Registered
Jul 8, 2022
3
0
1
United States
cPanel Access Level
Root Administrator
For anyone's future reference, the cPanel team figured it out for me. Here's his response:

Hello again,

I found that on your server, the Nginx was not responding as it should, and the configuration for your account was empty.

-rw-r--r--. 1 root root 33 Jul 8 17:40 [user].conf

I attempted to rebuild the configuration, but it appears never to complete the process. Effectively to get a response, I had to reinstall the ea-Nginx package, where I started getting normal responses on requests, and the configuration was built.

-rw-r--r--. 1 root root 86K Jul 9 04:09 /etc/nginx/conf.d/users/[user].conf

I am not experiencing the same problem at this time; however, can you let us know if you see an issue once more?

I hope this information helps.
Everything seems to be working now. Thanks!