I have a website test.com and it's point to 184.108.40.206. and we are using ALB(Aws application Loadbalancer that network interface having 2 Public IPs. whenever anyone is hitting Server IP and ALB IP's our website content is coming. Due to that our SEO team is getting Duplicate content related issue from Google.
but Getting 504 Gateway Time Out Error after blocking the website access with ALB and server's IP. we are using AWS server, Route 53, AWS ALB.