Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

amazon web services - Point two different domains to one ip address in route 53

We have two DNS hosted zones in AWS Route53 i.e.,

  1. dev-website.com
  2. prod-website.com

We have a wordpress website sitting in EC2 instance.

I have created A record of dev-website.com to IP address, 243.234.212.12 , of EC2 instance . It's working fine.

Today we are deploying our services in prod & our prod wordpress is not ready yet. Meanwhile we want to point prod-website.com to same IP address as dev wordpress's i.e., 243.234.212.12.

I have configured A record in prod same as dev as follows.

dev-website.com >> 243.234.212.12

prod-website.com >> 243.234.212.12

Now, the issue is when I enter the prod-website.com in browser, it is redirecting to dev-website.com

Will there be any other configuration required in this kind of scenario. Can someone help me with this issue?

Note: The ip address is used not the real one.


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

1 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...