Cloudflare DNS或Apache vhost配置错误?
我在cloudflare中设置了一个网站,将website3.com指向xxx.xxx.xxx.xxx IP地址 在我的apache中,我有现有的website1.com和website2.com vhost(网站1和2使用数字海洋DNS)。我为网站3创建了一个新的vhost 但是当我访问website3.com时,它显示了website1的内容。这可能是因为当我在浏览器中键入IP时,它会导致website1Cloudflare DNS或Apache vhost配置错误?,apache,cloudflare,Apache,Cloudflare,我在cloudflare中设置了一个网站,将website3.com指向xxx.xxx.xxx.xxx IP地址 在我的apache中,我有现有的website1.com和website2.com vhost(网站1和2使用数字海洋DNS)。我为网站3创建了一个新的vhost 但是当我访问website3.com时,它显示了website1的内容。这可能是因为当我在浏览器中键入IP时,它会导致website1 为什么我的网站3没有使用我创建的vhost 如果我正确理解了您的问题,那么问题不在于C
为什么我的网站3没有使用我创建的vhost 如果我正确理解了您的问题,那么问题不在于CloudFlare,而在于您的服务器 假设website3.com的名称服务器指向您的CloudFlare名称服务器,并且它们有时间传播,并且website3.com位于IP xxx.xxx.xxx,并且该IP位于您的Digital Ocean droplet上,那么您是否已在droplet上为此域配置了website3.com和虚拟主机文件 以下是一个很好的步骤教程: 祝你好运