【发布时间】:2018-03-12 07:05:12
【问题描述】:
我使用 AWS CloudFormation 创建了一个 Wordpress 博客,然后从 GoDaddy 网站购买了一个域名并转发到 CloudFormation 提供的域名
-->godaddy 域: yetanotherdeveloper.in
-->cloudformation 域: "ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/"
问题 1:
当我在 URL 中搜索 GoDaddy 域时,我会访问该站点,但 URL 中只显示 CloudFormation 域。我希望 GoDaddy 域存在。
当我打开帖子时,在 URL 中的斜线之前,会显示 cloudformation 域。(eg ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/index.php**/2017/09/27/hello-world/**)。我想要 godaddy 域在那里是为了方便其他人访问。
问题 2: Cloudformation 使用公共 IP,如果服务器停机等,将来可能会很危险。所以,我也想将 IP 更改为弹性 IP。
This is after the site is loaded,i get old domain shown
This is when i open some other page or in this case, a post. Here also old domain
最后一件事,我希望我不会浪费你太多的时间。如果我是,很高兴指出我在这个问题上做错了什么,下次我会改进。
谢谢!
【问题讨论】:
标签: wordpress amazon-web-services amazon-ec2 dns amazon-cloudformation