DNN& local host to live web site
Last Post 04/11/2014 7:48 PM by Donald. 4 Replies.
Author Messages
Donald
Nuke Ace
Nuke Ace
Posts:53


--
04/10/2014 9:02 PM
    I have a local host instance installed according to the DNN Creative tutorial "How to Install DNN to Windows 7". Now its time to move it up to a live web site. I have installed DNN 7.x on the live site.

    Is it simply a matter of adding a www URL to the host alias; and, then FTP the inetpub/mywebsite files on the local machine to the live server just below the website root?

    Thanks
    -DL
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    04/10/2014 10:25 PM
    No. You will want to find the tutorial on moving a site for moving a localhost site to a live site: http://www.dnncreative.com/Localhos...fault.aspx

    There is also a tutorial on solving some common problems: http://www.dnncreative.com/Tutorial...fault.aspx

    Also, Evotiva's DNN Backup is a nice tool that can help to smooth the process.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Donald
    Nuke Ace
    Nuke Ace
    Posts:53


    --
    04/11/2014 3:48 PM
    Thanks Joe, but I think that the Lee Sykes 2009 video does not apply. It refers moving from SQL Express to SQL Server.

    My installation, followed the 2013 Andy Stephenson tutorial of installing DNN 7 on Win 7 using SQL Server (not Express). So to be clear, I need to go from local hosting SQL 2008 R2 to a live web site on SQL 2008 R2.

    The Stephenson tutorial mentions that it covers transfer to a live site. Unfortunately, the tutorial download has only 4 videos covering only the local install. It never discusses transfer to a live site.

    Is there another video somewhere that I missed?

    Thanks
    -DL
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    04/11/2014 6:04 PM
    If you've seen those two tutorials, you have most of the tools. And, if you've watched the old tutorial, there's not that much difference between the SQL Express server and SQL Server.

    1. Before doing anything, add an alias for the new URL to the site.

    2. Make a backup of the database,

    3. Restore the database to the live site's SQL server.

    4. You may need to create a database user for the new server and make sure that user has dbowner privileges.

    5. ZIP up the database directory on your localhost site.

    6. Unzip it to the live site's directory.,

    7. Edit web.config t(there are TWO connection strings) to point to the live site's db.

    8. Make sure that the IIS website is set correctly and that the AppPool user has full rights to the website directory.

    That's it. It is "almost" like installing DNN.

    If you'd like to do this in a really easy way, get a copy of DNN Backup from Evotiva. It will do most of the work and guide you for the few inputs that you need to make.


    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Donald
    Nuke Ace
    Nuke Ace
    Posts:53


    --
    04/11/2014 7:48 PM
    Great!
    Thanks


    ---