如何使用A或CNAME记录将siteA重定向到siteB [英] How to redirect siteA to siteB with A or CNAME records
问题描述
子域.hostone.com - > subdomain.hosttwo.com
我添加了一个CNAME记录来主持一个指向subdomain.hosttwo.com但是我所得到的只是一个 400错误请求错误。
任何人都可以看到我做错了什么?
尝试将其更改为subdomain - > subdomain.hosttwo.com
CNAME
是某个域的别名,因此当您访问hostone.com的控制面板时,您不必将整个名称输入到 CNAME
别名
只要您收到的错误,您可以登录到subdomain.hostwo.com并检查日志?
I have 2 hosts and I would like to point a subdomain on host one to a subdomain on host two:
subdomain.hostone.com --> subdomain.hosttwo.com
I added a CNAME record to host one that points to subdomain.hosttwo.com but all I get is a '400 Bad Request' Error.
Can anyone see what I'm doing wrong?
Try changing it to "subdomain -> subdomain.hosttwo.com"
The CNAME
is an alias for a certain domain, so when you go to the control panel for hostone.com, you shouldn't have to enter the whole name into the CNAME
alias.
As far as the error you are getting, can you log onto subdomain.hostwo.com and check the logs?
这篇关于如何使用A或CNAME记录将siteA重定向到siteB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!