Nginx welcome screen does not appear

Asked

Viewed 65 times

0

Good afternoon.

I just installed a new server (Ubuntu 14.04), installed the standard version (1.4.8) of Nginx and unfortunately the welcome screen does not appear. In sequence, a screen appears saying that it was not possible to access this site. I even made a test that is to put the phpinfo.php file in the server root and the same message appears.

I’m wondering if the problem is in Nginx or php.

Can someone please help me? Thank you.

  • If in your path you specify how index.php works?

  • 1

    Have you checked whether the enabled site settings are correct? if Nginx is running?

  • 1

    Welcome! Can you [Dit] and improve the question by gathering all the information possible and relevant to your problem? If we don’t have a forum where you add information as someone asks more details and this site is not a forum. Joins code, configuration files, logs, etc...

  • Hello. The Nginx settings are OK. They are the same that are running on another server. And how do I know if Nginx is running without the welcome screen?

  • I typed Nginx -t and it returned that the syntax is OK.

  • Hello André. I don’t have the page code yet. I only have the phpinfo.php file at the root of the server (usr/share/Nginx/html). The file is with permission 777.

  • I have this error on log... 2016/07/25 14:35:02 [emerg] 21746#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2016/07/25 14:35:02 [emerg] 21746#0: bind() to [::]:80 failed (98: Address already in use)

  • Hello, I discovered the problem. My default.conf file from Nginx was with the parameter "Listen" configured for port 8080. When I switched to port 80, it worked... the welcome screen of Nginx appeared.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.