NGINX issue, curl work but request from the browser doesn't

September 8, 2017 683 views
Nginx Debian

I have Debian 9.1, but used this one guide for installation Nginx

So, in part where i should type my server Ip in browsers, it returns error

This site can’t be reached took too long to respond.

While trying same with SSH, second not root account

demo@Debian-512MB-Ams3:~$ curl ***.**.***.**
<!DOCTYPE html>
<title>Welcome to nginx!</title>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>

<p>For online documentation and support please refer to
<a href=""></a>.<br/>
Commercial support is available at
<a href=""></a>.</p>

<p><em>Thank you for using nginx.</em></p>

So, Nginx is up, but browser got Error. Why?

  • Currently I get the info.php page when accessing in my browser.

    This is working as it should now?

  • Thank you very much for your response, i have configured it. Installed php and it is modules, and it worked. I have one more question if you do not mind.

    Website domainname is, bought at 1&, have setup DNS servers there, but currenty you can see only Test project from provided server IP, domainname does not work. It Redirects to 404 Not Found

    I have also used many guides like this link, but my OS is Debian 9.1

    by Justin Ellingwood
    Laravel is an easy to use, modern framework for the PHP programming language. In this guide, we will demonstrate how to install Laravel with an Nginx web server on an Ubuntu 14.04 server instance.
1 Answer
Have another answer? Share your knowledge.