Nginx Server Block not finding domain

July 17, 2019 125 views
Nginx Ubuntu 18.04

Hi all,
I followed this tutorial exactly to set up my Nginx, and at the very end of step 5 where I should be able to see my static HTML page, it says it can not find my IP address from my domain. Any thoughts to this? Could it just be a domain issue or did I miss a step do you think?

Going to the IP address shows the usual “Welcome to Nginx!” page

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04

1 Answer

Hello,

Can you give me the exact error that you are getting? Maybe it is a DNS issue and not the problem with Nginx.

You need to make sure that your domain name is correctly pointed to the server.

Hope that this helps!
Bobby

  • Hi bobbyiliev,

    I think you are right actually I realized my dns was only resetting or whatever every 3600 minutes I’m gonna do a hard one now and make sure that’s not the issue.

    edit: it is now working - I feel like a real dum dum haha thanks

    • No problem at all!

      I’m happy to hear that it is working now!

      Make sure to mark the answer as correct so that other people would know as well!

      Thanks and regards,
      Bobby

Have another answer? Share your knowledge.