Restored Lightsail Instance running cPanel now no sites load
I have restored a lightsail instance that is running cPanel on AWS - I attached the same IP address to the instance, that the previous instsance has and while WHM/cPanel will load for each site the websites themselves will not load and give me the default "page not found" error.
Know someone who can answer?
-
Hey there! I'm sorry to hear the restore didn't go smoothly. For these types of issues I would start with the DNS, and make sure the domains are actually resolving to the server properly. I would then check and make sure the IP address is pointed to the correct machine, such as trying to connect with telnet over port 80 to confirm the webserver is active and working well. If those do work, you could then move on to the Apache error logs at /etc/apache2/logs/error_log. It's possible that your NAT IP address changed even though the public IP didn't, which you can check with this command: cat /var/cpanel/cpnat
Can you work through some of those things and see if that helps to isolate the issue?0 -
From memory Lightsail uses a 1 to 1 NAT and everything on the Lightsail server will only reference the private IP address. cPanel/WHM really does not like it when the 1 to 1 NAT changes. To confirm this, can you run: ip a
So we can see if you have public or private IP's bound to the server.0
Please sign in to leave a comment.
Comments
2 comments