如何复制magento测试服务器

如何复制magento测试服务器,magento,digital-ocean,Magento,Digital Ocean,我如何将我的生产站点复制到prepod域 我有一个现场网站@www.theprinterdepo.com 我有一个子域名prepod.theprinterdepot.net 我将文件夹复制到了预制作网站的文件夹中,但它与原件完全相同,因此它总是重定向到www.theprinterdepo.com。有人有这方面的经验吗 谢谢。您还需要复制数据库,并使用复制的数据库详细信息更新您的app/etc/local.xml,以便您的预制作站点引用它 然后需要在Magento配置中指定新的基本URL,否则它将

我如何将我的生产站点复制到prepod域

我有一个现场网站@www.theprinterdepo.com

我有一个子域名prepod.theprinterdepot.net

我将文件夹复制到了预制作网站的文件夹中,但它与原件完全相同,因此它总是重定向到www.theprinterdepo.com。有人有这方面的经验吗


谢谢。

您还需要复制数据库,并使用复制的数据库详细信息更新您的app/etc/local.xml,以便您的预制作站点引用它

然后需要在Magento配置中指定新的基本URL,否则它将重定向到生产站点

preprod.theprinterdepot.net
如果(prepod.theprinterdepot.net)域不可公开访问,请在本地主机文件中指定它,例如:

192.168.2.1    preprod.theprinterdepot.net
您可以找到完整移动详细信息的概述@