Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
559 views
in Technique[技术] by (71.8m points)

web - 仅通过域名访问网站(LAMP)域名(不使用服务器IP或应用程序负载平衡器IP)(Access Website(LAMP) by domain name only Domain Name (Not with server IP or Application Load Balancer IP))

I have a website test.com and it's point to 13.237.27.29.

(我有一个网站test.com,它指向13.237.27.29。)

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.

(并且我们正在使用ALB(Aws应用程序负载平衡器,该网络接口具有2个公共IP。每当有人访问服务器IP和ALB IP时,我们的网站内容就会出现。由于我们的SEO小组正在从Google获得与内容重复相关的问题。)

we tried this link https://webmasters.stackexchange.com/questions/95059/access-website-by-domain-name-only-not-ip-address

(我们尝试了此链接https://webmasters.stackexchange.com/questions/95059/access-website-by-domain-name-only-not-ip-address)

but Getting 504 Gateway Time Out Error after blocking the website access with ALB and server's IP.

(但在使用ALB和服务器的IP阻止网站访问后出现504网关超时错误 。)

we are using AWS server, Route 53, AWS ALB.

(我们使用的是AWS服务器,即Route 53,AWS ALB。)

  ask by Ajeet Kushwaha translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...