Site can't be reached after installation
Clean Ubuntu 22.04 install on an AWS instance with 4MB/40GB. Only thing I added was Perl, per your instructions. The CPanel installation scripts ran and completed without error. Now when connecting to my site, this page appears:
http://REDACTED/cgi-sys/defaultwebpage.cgi
I can connect to the server and see that there is no firewall issue:
dementad@server:~$ sudo ufw status
Status: inactive
Apache2 is not running? And it isn't even found? Where do you install it?
dementad@server:~$ apache2 -v
WARNING:root:could not open file '/etc/apt/sources.list.d/cpanel-plugins.list'
Command 'apache2' not found, but can be installed with:
sudo apt install apache2-bin
I am not sure how to proceed. I don't think installing apache2 is the answer...
Tad
-
Apache in your server is working, it accepts connections in port 80, but NOT in port 2087.
Seems like a firewall issue.
0 -
You'd want to use:
httpd -v
And as quietFinn mentioned, you seem to have a lot of the typical ports firewalled. The cPanel / WHM ports and mail ports, at the very least, are all firewalled. Maybe that's intentional.
But the Apache that runs the hosted websites on a cPanel server is up and running (responses from :80 and :443).
If you are trying to connect to access cPanel or WHM, then you'd use /cpanel or /whm or :2083 or :2087. But again, those ports are blocked to the public (perhaps intentionally by you).
0 -
Thanks, both of you! I don't know why I expected the installation to take care of port access... I can now reach the Cpanel and WHM, although the login/password is not working. Is it a different login/password than I use for cpanel.net?? Even trying to reset the password is wonky -- the email address "hint" doesn't match any of my email addresses.
0 -
The WHM root password has nothing to do with cpanel.net login/password.
If you have root SSH access to the server just do:
passwd
then enter your new password 2 times.
After that you can login to WHM with username root and that password.0 -
Yeah, I tried that, but still got an invalid login. In desperation, I rebooted and now it works with the root password. Thanks!
0
Please sign in to leave a comment.
Comments
5 comments