Can't access droplet by domain, only by IP

I’ve created a droplet from the Wordpress image and I could access it by IP and by domain. I had to rebuild it, but now I can only access it by IP. When I try to access by domain I got Connection Refused error. Here’s how my DNS is set:



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.

This comment has been deleted


Please post the output of:

tail -20 /var/log/apache2/error.log

We can check the error log to see if there’s any useful errors or warnings being logged that’ll help to identify the issue.