我正在对Bitnami AWS AMI镜像运行web域...我刚换成了弹性I。地址和需要为网站设置https。我正在运行bncert-tool,但得到以下错误:
###################################################################################################
sudo /opt/bitnami/bncert-tool
----------------------------------------------------------------------------
Welcome to the Bitnami HTTPS Configuration tool.
----------------------------------------------------------------------------
Domains
Please provide a valid space-separated list of domains for which you wish to
configure your web server.
Domain list []: blah.com.
The following domains were not included: www.blah.com.au. Do you want to add them? [Y/n]: y
Warning: The domain 'www.blah.com.au' resolves to a different IP address
than the one detected for this machine, which is '13.210.101.***'. Please fix
its DNS entries or remove it. For more info see:
https://docs.bitnami.com/general/faq/configuration/configure-custom-domain/我已经用谷歌搜索过了,并试着跑:
sudo /opt/bitnami/mysql/bnconfig --计算机主机名blah.com
它确实可以运行,但没有区别。
有人能帮上忙吗?
发布于 2020-01-15 18:28:25
Bitnami工程师
Bitnami HTTPS配置工具显示www域没有正确配置,因为它没有解析到机器的相同IP。您需要在DNS提供商中配置www域,并使用此在线工具验证www域和非www域是否已正确配置。
确认两个域都使用正确的IP地址进行配置后,即可运行Bitnami HTTPS配置工具来生成证书。
发布于 2020-01-15 22:05:27
尝试覆盖本地/etc/hosts文件中的IP。您可以在那里设置IP编号,然后在完成后将其删除。应该能行得通。
发布于 2020-04-11 00:41:03
确保您的域的A记录部分中的IP地址与保留的静态Ip地址相同。请注意,除非您正在使用Cloudflare (我知道这一点,因为我在我的所有网站上都使用它),否则您可能需要等待48小时才能完成DNS传播。我希望这能帮到你
https://stackoverflow.com/questions/59745340
复制相似问题