We have two DNS hosted zones in AWS Route53 i.e.,
- dev-website.com
- 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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…