该网站会转到正确的 DNS,无需 www
我有一个由 ec2 托管的网站,位于 http://tanish-bilish.com。我们从网络解决方案中获取了 DNS。
我的 apache 2 配置看起来像这样
ServerName tanish-bilish.com
ServerAlias www.wanish-bilish.com
我的 DNS 设置看起来像这样
* (All Others) 7200 184.73.125.64
@ (None) 7200 184.73.125.64
www.tanishbilish.com 7200 184.73.125.64
出于某种原因 http://www.tanish-bilish.com 去其他地方。有人可以帮我看看这可能是什么吗?
I have a website hosted with ec2 at http://tanish-bilish.com. We got the DNS from network solutions.
My apache 2 config looks like this
ServerName tanish-bilish.com
ServerAlias www.wanish-bilish.com
My DNS settings look like this
* (All Others) 7200 184.73.125.64
@ (None) 7200 184.73.125.64
www.tanishbilish.com 7200 184.73.125.64
For some reason http://www.tanish-bilish.com goes to some place else. Could some one help me with what could it be.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它是否应该有连字符 - 您提供的 URL 与 DNS 条目不匹配
,是 Tanish 还是 Wanish?因为您的第一个条目也不匹配。
Is it supposed to have a hyphen or not - the URL you give does not match the DNS entry
and is it Tanish or Wanish? because your first entry doesn't match either.
奇怪的是,如果我像下面这样切换服务器名称和服务器别名,它就可以正常工作
Strangely it works fine if I switched the servername and server alias like below