Domain is inaccessible with 404 error.
FPM application served by nginx handler is set in Domains > example.com > PHP Settings.
/var/www/vhosts/example.com/logs/error_log the following error is shown:
CONFIG_TEXT: [error] 20463#0: *1329372 "/var/www/vhosts/example.com/httpdocs/en/component/users/index.html" is not found (2: No such file or directory)
There is a
.htaccess file in
/var/www/vhosts/example.com/httpdocs with rewriting rules added.
When FPM application served by nginx is enabled, the website stops using
.htaccess file and rewrite rules from
.htaccess are ignored.
/var/www/vhosts/example.com/httpdocs/.htaccess rewriting rules to Additional nginx directives in Domains > example.com > Apache and nginx settings.
Note: rewrite rules should be formed according with nginx syntax.
Another solution is to change PHP support for domain from FPM application served by nginx to FPM application served by Aapche at Domains > example.com > PHP Settings.