cloudflare returning 521

I had two DNS pointing to test.domain1.com and test.domain2.com on test.domain1.com it returned nginx just fine. but on test.domain2.com it returns 521 how can i resolve this issue?
No description
11 Replies
velocity.toml
velocity.tomlOP4w ago
both pointing to the same ip address
velocity.toml
velocity.tomlOP4w ago
No description
velocity.toml
velocity.tomlOP4w ago
No description
velocity.toml
velocity.tomlOP4w ago
it should have return welcome to nginx
No description
andrew_nyr
andrew_nyr4w ago
is your nginx setup to handle requests for both domains?
velocity.toml
velocity.tomlOP4w ago
it's on default configuration
andrew_nyr
andrew_nyr4w ago
and is it the same ip address for both domain names?
velocity.toml
velocity.tomlOP4w ago
yes
andrew_nyr
andrew_nyr4w ago
can you show your nginx config
velocity.toml
velocity.tomlOP4w ago
hold o

Did you find this page helpful?