DNS记录指向另一个域 [英] DNS records to point to another domain

查看:269
本文介绍了DNS记录指向另一个域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常我会上传.htaccess将域重定向到另一个域。但是,当没有托管设置时,可以通过DNS设置来完成某些操作,将一个域以与重定向相似的方式指向另一个域。



www.domainA。 com - > www.domainB.com

解决方案

您的域只能拥有CNAME类型,重定向到您的其他域。 p>

Usually I would upload a .htaccess to redirect a domain to another domain. But can something be done with the DNS settings when there is no hosting set up, to point one domain to another in a similar fashion to a redirect?

www.domainA.com -> www.domainB.com

解决方案

Your domain can just have a CNAME type, redirecting to your other domain.

这篇关于DNS记录指向另一个域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆