how to fix the website down

0

I use AWS to host the wordpress website, but the website down and can't be reached, how to fix it?Enter image description here

jenny
asked 7 months ago364 views
2 Answers
0
Accepted Answer

Jenny, good morning/afternoon, based on your screenshot, I'd bet it's a security group, NACL issue. Or even firewall operating on the instance itself, depending if you have installed/activated one. It could even be a firewall deployed in front of your instance, it is difficult to say as I only have this screenshot, but it's showing "connection refused" which it could be either it's refusing the connection to a specific port/protocol, due to firewall or above mentioned reasons, or there is no service up&running for that specific port, in this case I would assume https (port 443) or http (port 80) again, assumed you didn't change the configuration of the website and where the website is listening to. Hope this helps.

profile pictureAWS
answered 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago
  • Dear Cristian, how can i fix this problem and make the website up again?

  • Dear Jenny, could you please provide a little more details such as:

    • is the website hosted on an EC2 Instance?
    • is the public ip of the instance the ip assigned to the website where the service is running?
    • if yes, do you have security groups allowing traffic destined to the public IP of the Instance?
    • do you have any load balancer in front of the EC2 instance?
    • could you please share a diagram/image of the architecture so that I can be more helpful?
    • do you have a firewall in front of the instance?
    • where are you connecting from?

    if you could provide as much details as possible, I can try to help, thanks!

  • Dear Cristian, thanks for your help:

    1. the website is hosted on an EC2 instance
    2. yes
    3. yes, i have the security groups
    4. no load balancer and firewall I show you pictures
  • i don't know how to send you pictures here, do you have other contact information like whatsapp?

  • Jenny, thanks for your answers, so I assume you have a pretty normal setup, please check the following and come back to me:

    1. check if the Security Group is configured to allow traffic to the specific EC2, on the specific public IP of the instance, check if this Security Groups is actually assigned to the correct instance, just to make sure, it should but just check.
    2. check if the security group is allowing http 80 or https 443 depending on the protocol you are using on the website
    3. check if the website is running, if you are using linux based, check if httpd process is running, you can check if the server is running by using

    service httpd start service httpd status

    1. check if you have a firewall on the instance running on it which is preventing the connection to be established, based on the screenshot, it looks like it
0

Hello.

Fixing a website that is down on AWS (Amazon Web Services) can be a complex process, and the steps you should take will depend on the specific issue causing the outage. Here's a general troubleshooting guide to help you get started:

  1. Check EC2 Instance Status: Log in to your AWS Management Console. Go to the EC2 dashboard. Check the status of your EC2 instances. If an instance is stopped or terminated, you might need to start or replace it.

  2. Check Security Groups: Make sure your security groups are configured correctly to allow incoming traffic on the necessary ports (e.g., port 80 for HTTP, port 443 for HTTPS). Ensure that you haven't accidentally blocked your IP address through security group rules.

  3. Check Instance Status Checks: EC2 instances have two types of status checks: system status and instance status. Both should be "2/2 checks passed." If not, AWS will provide information about the issue. Inspect Web Server Logs:

  4. Log in to your EC2 instance via SSH. Check the logs for your web server (e.g., Apache, Nginx) in /var/log or the directory where your web server stores logs. Look for error messages that may indicate the cause of the issue.

  5. Check Disk Space: Ensure that your instance has sufficient disk space. A full disk can cause services to fail. Check Database Connections: If your website relies on a database (e.g., Amazon RDS), check the database instance's status and logs for any issues.

  6. DNS Configuration: Ensure that your domain's DNS settings are correctly pointing to the AWS resources (e.g., Elastic Load Balancer, EC2 instance) associated with your website. SSL/TLS Certificates:

If your website uses HTTPS, ensure that your SSL/TLS certificate is up-to-date and correctly configured.

Best regards, Andrii

profile picture
EXPERT
answered 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions