I have a website test.com and it's point to 18.104.22.168. 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.