简体   繁体   中英

AWS Route 53 Subdomain Pointing to Different IP Address

I'm having some problems setting up a subdomain using Route 53. I have two physical instances running. One is for production and one is for staging/testing. Of course each instance has its own Elastic IP.

The production box is running just fine. Its the staging one that is the issue. I've set up the subdomain DNS entries in Route 53 and modified my http.conf settings in Apache on the staging machine but can't get the subdomain to connect.

Here are the Route 53 entries for the PRODUCTION instance:

在此输入图像描述

And here are the Route 53 entries for the STAGING instance:

在此输入图像描述

And here are the apache httpd.conf entires on the STAGING Machine for the VirutalHosts:

在此输入图像描述

When I use the elastic IP for the staging machine it works perfectly. And just to be clear: In the Route 53 entries for the staging machine I am using the staging IP address for the A records.

Can anyone see what I'm doing wrong?

Thanks!

Sorry guys I figured out what it was. The domain was registered with a third party and the name servers hadn't been transferred over to Route 53's. Once I did that everything is working fine.

And I have it all under one Hosted Zone too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM