Website not reachable for some reason

For some reason I can ping but i can’t view it in my browser. I am not sure why. Everything was working yesterday. Here are my DNS and record Settings

Record type address
A @
A mail
A www
mx 1


I can ping the domain but can’t view it in the browser


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Check and/or restart is your Web server running. To do so, you need to connect to server over SSH first.

For Apache:

  1. sudo systemctl status apache2
  2. sudo systemctl restart apache2

For Nginx:

  1. sudo systemctl status nginx
  2. sudo systemctl restart nginx

Try to access via browser again. If it doesn’t work try another browser or clearing cache just in case. But if it helped, we will try debugging it and make it doesn’t happen again. If nothing helps, check logs. For Apache you should have two logs and you can open them with any text editor:

  1. sudo nano /var/log/apache2/access.log
  2. sudo nano /var/log/apache2/error.log

For Nginx look for logs in following directory :

  1. /var/log/nginx

If I recall correctly, there should be access_log and error_log. If you need help analyzing logs, feel free to ask.

Note: Make sure you didn’t enable any firewall in meanwhile. If it stopped working from it self, this is not case, but just to note. =)