Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving from local machine to Host ServerMoving from local machine to Host Server
Previous
 
Next
New Post
9/12/2012 9:57 AM
 

Hi,

 This is all new stuff to me. I've managed to muddle along and by using Web Matrix 2, get SQL Server Express 2008, DNN 6.2.2 with Cart Viper installed to my local computer. I have most of the pages added and a good portion of Cart Viper configured. I thought it was about time to move the work to the host and start testing a few things while I work out how to finish up. The host site uses Parallels Plesk Panel for administration. I ftp/ed all files and folders from the root /inetpub/wwwroot/DotNetNuke to /domainname.com/httpdocs (which seems to be where I was supposed to deposit the files). There is a site preview applet in the Plesk admin panel which is supposed to allow me to continue the build and test. When I open the site preview I get the "Install Wizard" screen and not the Home page I would get on the local machine. Not sure what happened there or how to go about gaining access to the build. I assume that if I run the install wizard I will loose the work I've done and may be worse off with some detritus of my work remaining in the the directory structure. I think I also need to move the SQL stuff from the local machine to the host server SQL. Not sure how to do that. I'm just wondering if, at this point, I'd be better off wiping what I ftped and start from scratch in the dev site on the host.

Thanks for any assistance,


Mahalo, HalinQuincy
 
New Post
9/12/2012 2:34 PM
 

You hit the nail on the head.

You do need to move the database online before you access the site. Without a live database, the only thing DNN can do is launch the install script.

You will need to read up on how your host provides access to SQL server and how to build the configuration connection string.

Alter the web.config to replace the current local access string with the settings you need for online, and copy the amended file onto your server, making sure you overwrite the existing one.

Make a backup of the local database, as it is likely your host provides a feature to create the online database by restoring that backup.

Bill

 

 
New Post
9/12/2012 4:08 PM
 

Thanks,

I think I can get the help I need with the connection string and web.config.

I know I read somewhere about how to keep the underconstruction.htm as the page that folks see when they enter <domainName>.com in their browser while still allowing development, backup etc. I just can't find it now <g>.


Mahalo, HalinQuincy
 
New Post
9/12/2012 5:18 PM
 

After thinking about this; I did access the site <DomainName.com> from a browser. The default page had changed from Index.htm (to which we had added text with the merchant contact info) to UnderConstruction.htm. I went back to the admin panel and edited /UnderConstruction.htm to include that same contact info. I'm just wondering what you mean by "You do need to move the database online before you access the site." So, I've accessed the site, but have a done so in a way to cause any problems.


Mahalo, HalinQuincy
 
New Post
9/13/2012 12:32 PM
 
DNN uses a database to store settings, navigation and content.

You have created a database in SQL Server Express 2008 on your local machine.

If you do not want to start all over again, then the work you have done - contained in that database - needs to be migrated to the online database you will or have set up for the production site.

The page that is normally used while you upgrade/work on the site is called AppOffline.aspx, but if you have the htm working and are OK with switching priorities when the site is active, then stay with it.

If your database is not in place when you enable aspx as the priority extension and open the DNN site, then it will automatically launch the install wizard. If the database is in place and the web.config correctly amended with database name and login details, it will pick up your site from where you left off when you copied it up to the server. You also need to check the machine key in the config file to maintain the passwords you created on the test site.

It all sounds more complicated than it really is, but to avoid causing yourself any problems and extra work, I recommend reading up on site migration and watching a few of the video offerings available on the Resources | Video Library link.

Bill
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving from local machine to Host ServerMoving from local machine to Host Server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out