Website hosted at Plesk is unavailable: 504 Gateway Time-out

Started by Suhitha, Jan 23, 2026, 05:43 AM

Previous topic - Next topic

Suhitha

Question: Website hosted at Plesk is unavailable: 504 Gateway Time-out


Applicable to:

  • Plesk for Linux

Symptoms

  • A website is not accessible. The following error is shown in a browser:

504 Gateway Time-out
  • The following error message can be found in the domain error log file

/var/www/vhosts/example.com/logs/error_log:

[proxy_fcgi:error] [pid 42290:tid 140458047010560] (70007)The timeout specified has expired: [client 203.0.113.2:54693] AH01075: Error dispatching request to :, referer: http://example.com/gallery

  • The following error message can also be found in the domain proxy error log file

/var/www/vhosts/example.com/logs/proxy_error_log:

[error] 2766#0: *19950 upstream timed out (110: Connection timed out) while connecting to upstream, client: 203.0.113.3, server: example.com, request: "GET / HTTP/2.0", upstream: "https://203.0.113.2:7081/", host: "example.com"

Cause

Website misconfiguration.


Resolution

1.Connect to the server using SSH.

2.Run the following command to rebuild domain configuration files:

# plesk repair web example.com