ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Deploying DotNetNuke 6.0 to Windows Azure

Updated on May 5, 2015

Learn How to deploy/publish DNN 6.0 to Windows Azure in a few simple steps!

Are you tired of searching online for a good guide on how to get DotNetNuke 6.0 running on Windows Azure?

Well your worries stop here.

I will guide you through an easy process where you deploy in no time.

Please read below and also I would be very interested to hear your comments and feedback.

Prerequisites

First of all, I am assuming that you already have a Windows Azure Platform account and you have set everything up and you can successfully log in and see the portal (image on the right - you can log in at the first link below).

If you do not have an account please create one and then come back :)

You will find all the links you need at the "Helpful Links" section below

YOU NEED TO create a Hosted Service before you begin by clicking "New Hosted Service" on the top left of your screen (first button).

Step 1 - Create Storage

You need to create a Windows Azure Storage Services instance. You can do that by clicking what is illustrated in the image above.

Enter the URL you wish for the storage, choose a region and press OK.

Step 2 - Create a new SQL Azure Server

You have to create a new SQL Azure Server.

Please see image above on how to.

Provide a username and a password for the administrator.

DON'T FORGET to check the "Allow other Windows Azure Services to access this server". Press finish.

Step 3 - Running DNN Azure Accelerator Wizard

After you've successfully done the steps above, you need to download DotNetNuke Azure Accelerator found at the second link above in the "Helpful Links" section.

Download it to your computer and extract it to a new folder.

Run DNNAzureWizard executable found in that folder and the install wizard will start up. (image on the right)

Move onto the next step (Step 4) to get an idea on how to go through the wizard.

Step 4 - SQL Azure connection Settings

Ok, you did run the wizard and pressed next on the first screen.

You now see the image on the right...right?

Now we have to be careful on that type into those fields!

I will list the fields below with some hints on what to fill them with!

SQL Azure Server : Click on the Database button on the bottom left, then click your instance (top left). You should be able to see the Server Name on the grid in the middle of your screen.

Admin User Name: The username of the admin you created in Step 2.

Admin Password : The password you used for the admin on Step 2.

PLEASE TEST CONNECTION - If it fails you are doing something wrong.

Database Name: This is the DNN database that will be created on the server. Pick any name that suits you.

DB User Name : This is the user name of the DNN Database User. Pick one.

DB Password : This is thepassword of the DNN Database User. Pick one.

Confirm Password : The Password above.

Click Next! (Go to Step 5)

Step 5 - Windows Azure connection settings

Continuing from Step 4.

You are now into the Windows Azure connection settings page of the wizard (picture on the right).

For:

Storage Account Name: Use the name you used in Step 1.

Storage account key : Click on the "Hosted Services, Storage Accounts& CDN" button on the bottom left of your screen (second button). Then expand your instance and click on the storage you created. You should see "Properties" on the right of your screen. What you need is the "Primary Access key". Click view and get it!

PLEASE click test. If it fails you are doing something wrong!

Now for the last field.

Bindings: This is your hosted service name but followed with "cloudapp.net". So if your hosted services name is DNNAzureTutorial then the bindings should be DNNAzureTutorial.cloudapp.net

The hosted service name is found by going to the "Hosted Services" menu on the left.

Click Next! Go to Step 6!

Step 6 - Accelerator deployment packages

After you finished with Step 5 you are asked to choose a package.

You can find the differences of these two packages by clicking and reading the third link on the "Helpful Links" above.

Click next, please take your time and read the "Summary of Settings" in case you missed something or typed something wrong and click next!

You will be asked if you are sure you want to continue. Click OK and DotNetNuke 6.0 will start deploying!

You can go to your instance name followed by "cloudapp.net" to start configuring DotNetNuke.

Enjoy!

Interesting Azure Books!

Have a look at these helpful books found below. They are not expensive yet they offer basic and advanced learning on Azure.

Interesting DotNetNuke Books!

Have a look at these helpful books found below. They are not expensive yet they offer basic and advanced learning on DotNetNuke.

Helpful or Not?

Was this lens helpful or not?

See results

Comments / Questions

    0 of 8192 characters used
    Post Comment

    • profile image

      anonymous 4 years ago

      DNN Azure Accelerator does a great job, however, if you want to have more control and deploy DNN to Azure VM you might be interested to check Appveyor (www.appveyor.com) that makes DNN deployment to Azure VM with Azure SQL a breeze!

    • PCon profile image
      Author

      PCon 4 years ago

      @webguru_india: Thank you very much, that is kind of you! I'll check out yours as well

    • profile image

      webguru_india 4 years ago

      It's a great lens. Keep sharing such nice information with us. Also don't forget to check my blog here at www.squidoo.com/lensmasters/webguru_india

    • profile image

      anonymous 5 years ago

      How to deploy the WCF service and DNN site in single webrole

    • profile image

      anonymous 5 years ago

      How to deploy the WCF service and DNN site in single webrole

    • profile image

      anonymous 5 years ago

      How to convert DNN site as an azure webrole project

    • profile image

      anonymous 5 years ago

      @anonymous: There is no difference from building WCF services in a DNN module, on Azure or onpremise (here you can get a good guide for that http://www.dotnetnuke.com/Resources/Blogs/EntryId/...

      Perhaps the only difference is if you want to publish the WCF service in another port than 80. For this, you should download the DNN Accelerator source code, add a new external Endpoint for the WCF service with the desired port on the cloud package and redeploy the service again with the initial parameters.

    • profile image

      anonymous 5 years ago

      @anonymous: Please give me steps to deploy WCF service in same DNN site instance in Azure

    • profile image

      anonymous 5 years ago

      can we deploy WCF service in DNN website instances? If possible please provide the steps. Please help to resolve this.

    • profile image

      anonymous 5 years ago

      When deploying DNN in Windows Azure, by default it creates two instances. Why is it allocating two instances? Can it be possible to make it as a single instance? We have once WCF service also to be hosted. Can we host the WCF services under the DNN instance? Ultimate aim is to reduce the number of instances we need to create in windows Azure. Please help.

    • profile image

      anonymous 5 years ago

      Nope, you can modify the web.config file in different ways. The easiest is to logon as a host user and through the "Host > Configuration Manager" section, modify your web.config file (be sure that the contents are ok before saving, or you should connet via RDP to the instance to fix the web.config

    • profile image

      anonymous 5 years ago

      Hi, I have just used this tutorial to create a vanilla installation but I then uploaded my custom modules which I forgot need endpoints setup within the web.config.

      Do I need to amend the web.config and completely reinstall?

      Thanks

    • profile image

      anonymous 5 years ago

      I think you missed the upload of packages created by the accelerator, or at least in my case I had to do it manually. But Thanks! great article

    • profile image

      anonymous 5 years ago

      I think you missed the upload of packages created by the accelerator, or at least in my case I had to do it manually. But Thanks! great article

    • PCon profile image
      Author

      PCon 5 years ago

      @anonymous: I'm glad you found this a clean tutorial however it would be better to head to http://social.msdn.microsoft.com/Forums/en-US/cate... and ask them there, as there are a lot of expert people there to help you.

    • profile image

      anonymous 6 years ago

      Really clean tutorial. I'm interested in deploying to Azure without using the Accelerator. We have a larger Azure web project within which DDN is only one part. We'd like to manually tweak with the web roles, set DB sizes, etc.. Do you have info on how to deploy DDN to Azure without the Accelerator?

    • PCon profile image
      Author

      PCon 6 years ago

      @bhatnagarashish001: great! you are welcome

    • profile image

      bhatnagarashish001 6 years ago

      The content of post and interesting and knowledgeable . Thanks for sharing your lens.

    • PCon profile image
      Author

      PCon 6 years ago

      @spiritualll: hey thanks a lot!

    • spiritualll profile image

      spiritualll 6 years ago

      NICE LENSES!

      KEEP CREATING THEM!

      GOOD LUCK ON SQUIOO AND MAY YOU EARN MUCH MONEY!

    • PCon profile image
      Author

      PCon 6 years ago

      @anonymous: thank you David!

    • profile image

      anonymous 6 years ago

      Very simple and clear. Good post!