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 StartedNew to DNN Plat...New to DNN Plat...How to publish the website which i have developed in dotnetnukeHow to publish the website which i have developed in dotnetnuke
Previous
 
Next
New Post
5/3/2011 1:25 AM
 
Hi,

I have developed a website in dotnetnuke.

I want to publish this website..

Can any one tell me how to publish the website?


 
New Post
5/3/2011 10:36 PM
 
Hi Raj,

There are a number of different methods for moving your site from development to production. If you used Microsoft Webmatrix to develop your site and your host supports the publish feature you can publish directly from WebMatrix.

The more traditional method is to backup your website database and restore it to the database on your host server. Sometimes the host will do the restore for you.
 
Before you back up the database you should add the new portal alias for the production server. While on development server log in to your site and go to Host/portals make sure you are in edit mode and click the pencil next to portal Id then expand plus sign under Advanced Settings and then expand Portal Alias. Click the add alias button and add your domain name or the temporary URL the host has assigned. Next create a backup of your database using SQL Managment studio.

Create a database on your server and restore the backup there. Note the connection string, including server name, Userid and DB password. Transfer your website files to you server via FTP except for the web.config file. Copy your web.config file and save it as a backup somewhere on your computer.

Open the web.config file and modify the connection string to match your server info. FTP the web.config into the root of your website.

If everything went right you should now be able to browse to your website on the server with yourdomainname.com or temp URL. Sometimes if the host is running in medium trust you will need to add another entry to the web.config called Impersonation. Please check with you host if impersonation is required. Other changes may also be required depending on how the production environment differs from your development environment.

A third method is to use a third party module to back up and restore your website to the server. I prefer this method when moving a site from one host to another. I use and recommend the DNN backup module from Evotiva. http://Evotiva.com The module creates two zip files, one for site files and the other for the database that can easy be restore to the remote server. The restore wizard walks you through the process and updates the portal alias table and host settings for you. If you use this method read and follow the instruction for the restore pack.

 Hope this helps and good luck.

 Rich
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How to publish the website which i have developed in dotnetnukeHow to publish the website which i have developed in dotnetnuke


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