Skip to main content

Restored Lightsail Instance running cPanel… now no sites load

Comments

2 comments

  • cPRex Jurassic Moderator
    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
  • ffeingol
    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.