The 504 Gateway Timeout error means that when a request was sent to fetch a website, the gateway server didn’t receive a timely response from the other server.
Server overload can result in a 504 error and may need a couple of minutes to resolve itself. The first thing you can do is wait for a couple of minutes and then reload the page to see if this solves the issue.
Another reason for a 504 error could be that you have just migrated your website to a new host and haven't given it enough time to resolve. Make sure to allow a 24-72 hour window for your site to resolve.
If you have third party plugins and themes, check your error logs to see if they are causing the error.
Log into your 10Web dashboard, click on the website where you are getting the 504 error. Under Hosting Services, click on Logs. Then choose the logs from the drop down menu located at the top left.
If a plugin or a theme is causing the error, deactivating it will usually fix it.
And lastly, try restarting the PHP engine from your 10Web dashboard. Under Hosting Services click on Tools then click Restart PHP.
If the issue persists, contact our customer care team.