大网数据广告活动
服务器运维问答

Different server of subdomain(HostMonster) & domain (AWS)?

· 52CE 我爱测

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 this dom…

问题原文

原帖链接 · Pablo · CC BY-SA 4.0

So I have these 2 different endpoints

  1. blog.subdomain.com - The wordpress files of this located on my hosting (HostMonster)
  2. domain.com - This was a parked domain, but recently tried to use AWS to upload my files and point this domain.com A Record & Nameserver to AWS.

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 :)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-05-24)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。