【发布时间】:2021-09-03 04:16:01
【问题描述】:
我有 apache 服务器。而且我有自己的域名:
domain.onesub.domain.one
我还有另一个域名domain.two
我希望,当人们到达 domain.two 时,他们会看到来自 sub.domain.one 的内容
我需要找到解决方案,例如停车。 不允许 iframe 重定向。
当您打开 domain.two 时,它会打开 sub.domain.one
对于domain.two,我使用来自sub.domain.one 的IP 制作了A 记录。
但是当访问者打开domain.two 他看到domain.one - 但我需要sub.domain.one
我认为,在domain.one 的配置中,我需要进行一些更改,让服务器知道客户域的存在。
【问题讨论】:
标签: apache configuration subdomain