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 

      5 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 imageAUTHOR

      PCon 

      5 years ago

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

    • profile image

      webguru_india 

      5 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 

      6 years ago

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

    • profile image

      anonymous 

      6 years ago

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

    • profile image

      anonymous 

      6 years ago

      How to convert DNN site as an azure webrole project

    • profile image

      anonymous 

      6 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 

      6 years ago

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

    • profile image

      anonymous 

      6 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 

      6 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 

      6 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 

      6 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 

      7 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 

      7 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 imageAUTHOR

      PCon 

      7 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 

      7 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 imageAUTHOR

      PCon 

      7 years ago

      @bhatnagarashish001: great! you are welcome

    • profile image

      bhatnagarashish001 

      7 years ago

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

    • PCon profile imageAUTHOR

      PCon 

      7 years ago

      @spiritualll: hey thanks a lot!

    • spiritualll profile image

      spiritualll 

      7 years ago

      NICE LENSES!

      KEEP CREATING THEM!

      GOOD LUCK ON SQUIOO AND MAY YOU EARN MUCH MONEY!

    • PCon profile imageAUTHOR

      PCon 

      7 years ago

      @anonymous: thank you David!

    • profile image

      anonymous 

      7 years ago

      Very simple and clear. Good post!

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)