【发布时间】:2014-11-25 05:54:04
【问题描述】:
我如何知道是什么构成了我的子域?我发誓我浏览了服务器中的每个 .htaccess 文件。
我刚刚从以前的 IT 人员那里继承了服务器,而且它一团糟。据我所知,创建子域的可能是直接的 DNS。
我有:
www.theprinterdepo.com
和
preprod.theprinterdepo.com
demo1.theprinterdepo.com
demo2.theprinterdepo.com
但我不知道如何进行这项工作。我试过浏览所有的 htaccess 文件,但找不到任何提到那里有什么和什么重定向的东西。
似乎有一个 301 永久重定向到
dev.theprinterdepot.net
到
www.theprinterdepo.com
【问题讨论】:
-
我在 cpanel 中找到了重定向。但没有一个是活跃的。然而,当我访问:www.theprinterdepot.net 或 preprod.theprinterdepot.net 时,它会自动重定向到打印机 depo.com
-
发现这是一笔 magento 交易。您不能只是将 magento 的实例复制到另一个文件夹并将其称为实时服务器。你必须编辑设置和所有
标签: .htaccess magento dns subdomain digital-ocean