【发布时间】:2021-01-14 08:10:37
【问题描述】:
假设我有一个网络服务器 data.mydomain.org。 现在网络服务器有一个 index.html 并重定向到 info.anotherdomain.com。
除了提供重定向之外,服务器还有其他内容,例如图像文件夹和文档文件夹。这些必须保持运作。 我的 DNS 是 GoDaddy。如果我在 GoDaddy 上添加一个 CNAME info.anotherdomain.com 到 data.mydomain.org ,子文件夹路径会发生什么? CNAME 是否会使子文件夹路径从 data.mydomain.org/images/image1.jpg 解析为 info.anotherdomain.com/images /image1.jpg?还是子文件夹不受影响?
我的目标是摆脱当前的 index.html 重定向,并让 info.anotherdomain.com 的页面以 的形式出现在地址栏中>data.mydomain.org
【问题讨论】:
标签: redirect dns web-hosting cname