How do I make nginx stop showing "Welcome to nginx!" and show a site as default?

February 23, 2015 10.3k views

I have set up an nginx server with a WordPress site, but if I put the IP address in my web browser, nginx shows the "Welcome to nginx!" page instead of the site that I have installed.

How do I make all browsers coming to the server using the IP address go to my default site?

Be the first one to answer this question.