重定向域名服务器后子域出现问题
我已将我的域从一台服务器重定向到另一台服务器。我的网站有子域概念。在重定向之前,它运行良好,但是当重定向(名称服务器)到另一台服务器时,我的子域未打开。但另一个与“www”相关的是打开良好。我收到错误
“网络 - DNS 查找错误 找不到地址 delh.mydomain.com。”
应该做什么。 我编写的 htaccess 代码类似于
RewriteCond %{HTTP_HOST} ^subdomain.example.com$ RewriteRule (.*) /子域名/$1 [L] 谢谢
I have redirect my domain from one server to another.And my website has sub domain concept.Before redirection this was running well but when this redirected (nameserver) to another server my subdomain is not opening.But another which related with "www" is opening well.I am getting an error
" Network - DNS Lookup Error
The address delh.mydomain.com cannot be found."
What is shoud to do.
I have written my htaccess code is like
RewriteCond %{HTTP_HOST} ^subdomain.example.com$
RewriteRule (.*) /subdomain/$1 [L]
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就 DNS 系统而言,
delh.sliceindia.com
似乎不存在。您是否已正确配置sliceindia.com
区域以拥有delh
主机的A
记录?或者父sliceindia.com
上的通配符?要么你还没有,要么它还没有传播。不管怎样,如果没有 HTTP 命中进入服务器,重定向就无法工作。delh.sliceindia.com
does not appear to exist, as far as the DNS system is concerned. Have you properly configured thesliceindia.com
zone to have anA
record for thedelh
host? Or a wildcard on the parentsliceindia.com
? Either you haven't, or it's not propagated yet. Either way, the redirect can't work if there's no HTTP hits coming into the server.