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

September 8, 2017 508 views
Nginx Debian

I have Debian 9.1, but used this one guide for installation Nginx
[https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-debian-8](http://)

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

This site can’t be reached

178.62.247.93 took too long to respond.

While trying same with SSH, second not root account

demo@Debian-512MB-Ams3:~$ curl ***.**.***.**
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<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="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>

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

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

2 comments
  • Currently I get the info.php page when accessing http://178.62.247.93/ 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 grabgg.com, bought at 1&1.com, 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.