问题原文
原帖链接 · Pablo · CC BY-SA 4.0
So I have these 2 different endpoints
- blog.subdomain.com - The wordpress files of this located on my hosting
(HostMonster) - domain.com - This was a parked domain, but recently tried to use
AWSto upload my files and point thisdomain.comA Record & Nameserver toAWS.
blog.subdomain.com was working fine before, but not until when I tried to point my domain.com to my AWS Ec2 Instance. The changes I made was changing the a record of my domain.com pointed to aws public ipand changed the nameserver into aws
I'm using Loadbalancer & Route53 on my domain.com.
Now I wonder how can I keep the blog.domain.com files uploaded to my hosting at the same time the domain.com files are uploaded to aws ec2 instance? The showing on my blog.subdomain.com is DNS_PROBE_FINISHED_NXDOMAIN
Just want to know some possible ways to fix this, without transferring the files again and again.
UPDATE
已采纳解答
原帖链接 · MLu · CC BY-SA 4.0
You must create the blog CNAME or A record in AWS Route53 pointing back to the original webserver (hostmonster) as Route53 is now acting as your nameserver.
Clients will no longer query the old nameservers that you used before, hence you have to have all the records in AWS.
Hope that helps :)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
