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
AWS
to upload my files and point thisdomain.com
A 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 ip
and 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
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 :)