Websites show 404 Not Found error by Nginx

Created:

2016-11-16 12:48:41 UTC

Modified:

2017-08-08 13:19:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Websites show 404 Not Found error by Nginx

Applicable to:

  • Plesk for Linux
  • Plesk 12.5 for Windows

Symptoms

  1. Websites show 404 Not Found error by Nginx and service is running:

    # /etc/init.d/nginx status
    nginx (pid 15115) is running...
  2. Not all domain's configuration files are present:

    # httpd -S
    default server default (/etc/httpd/conf/plesk.conf.d/server.conf:79)
    port 7080 namevhost default (/etc/httpd/conf/plesk.conf.d/server.conf:79)
  3. Instead of web server is configurred to server 7080 port, nginx support is set as disabled:

    # /usr/local/psa/admin/bin/nginxmng -s
    Disabled

Cause

Websites' configuration files were not properly created.

Resolution

Enable nginx support for using bellow command:

# /usr/local/psa/admin/bin/nginxmng -e
# /usr/local/psa/admin/bin/nginxmng -s
Enabled
Have more questions? Submit a request
Please sign in to leave a comment.