Error 604 gameteway time-out

When I go to my main domain, which is, I get a 504 gateway timeout error. On my original server, everything is fine and pointing to the right things, and all my other subdomains work correctly, only the main domain doesn’t seem to work.

504 gateway time-out *

I would like to clarify that my main site hosts Azuracast under Nginx, and I had no issues until I changed my domain name. In the logs, I have this:

upstream timed out (110: Connection timed out) while connecting to upstream, client: ..., server:, request: “GET /favicon.ico HTTP/2.0”, upstream: “”, host: “”, referrer: "“.”

the website with URL work but nhot the domain