EC2 上的 Wordpress 以及 Route53 返回此站点无法访问

问题描述 投票:0回答:0

我在 EC2 实例上安装了 Wordpress,在 Route53 上添加了托管区域,将实例的 IP 地址添加为

A
记录并更改了域名注册商的 NS,但我仍然收到
This site can’t be reached
错误
DNS_PROBE_FINISHED_NXDOMAIN 
.我安装了 certbot 并添加了一个 Lets encrypt 证书,只是为了确定从 http -> https 重定向是否是问题所在,但这也无济于事。 当我尝试使用
dnschecker.org
域时,解析了正确的名称服务器。

我还运行了

php wp-cli.phar search-replace 'old_url' 'new_url' --path=/var/www/html --skip-columns=guid
并在
wp-config.php
中定义了WP_SITEURL和WP_HOME。 不确定可能是什么错误。

wordpress amazon-ec2 dns amazon-route53
© www.soinside.com 2019 - 2024. All rights reserved.