我已经在我的本地驱动器上安装了DotNetNuke 5.6,现在我想将它移动到主机来运行网站。我应该采取哪些步骤来运行我的网站?
答案 0 :(得分:2)
如果您没有对本地主机上的站点进行任何操作,那么让主机为您安装一个干净的DotNetNuke副本可能是最容易的。许多主机将为您执行此操作,或提供自动化工具以通过其控制面板进行安装。
为了帮助您移动DotNetNuke网站,我们确实需要更多详细信息才能提供完整的答案(您的托管公司应该能够为您提供指导),但基本知识是:
1a. If you are just using SQL Express on the local host and plan to
use it under SQL Express on the host as well, you'll just need to
FTP up the DB files along with all the other files.
1b. If you'll be
running the DB under a full SQL Server: Backup your database on your
localhost, copy the DB backup to your host, and restore the database
to the database server provided by the host.
2. Create a blank website on the host.
3. FTP all site files from your localhost to the root directory of your new website.
4. Make sure the Network Service account has Full Access permissions to the root directory and all sub-directories.
5. If you're using a full SQL Server, you'll need to update connection strings in the web.config to point to the restored DB and
ensure you're using a user/login with read/write rights to the DB.
6. Browse to the site.
应该这样做。