DotNetNuke Hosting with ASPHostPortal.com

BLOG about DotNetNuke CMS, latest technology and Special DotNetNuke Hosting Package with ASPHostPortal.com

Tips For Creating a WebFarm For Your DotNetNuke Site

clock Oktober 25, 2018 09:18 by author Kenny

Creating A Web farm For Your DotNetNuke Website

With a little luck and a lot of hard work there will come a time when your website’s popularity outgrows the capabilities of a single server. It’s time then to consider moving to a server-cluster also called web farm where you can host your website over multiple servers, balancing and shifting the load all across them so that your visitors continue getting the fast website experience that they’re used to.

Server clustering is now a part of Windows Server and IIS 7, so you can easily set up your web farm and get a dramatic boost in your website’s performance by setting up shared configuration for your website with 2 or more servers.

By using a server farm you can also avoid buying newer and costlier hardware, putting older servers to work to share the load at a lower cost. Additionally a web farm also enhances the security by creating redundancy which will keep the website online and functioning even if one of the server fails.

In this article we will learn how to set up your web server farm through IIS 7 Shared configuration feature for your DotNetNuke website.

Requirements for a DotNetNuke Web Farm

Setting up a web farm for DotNetNuke requires a setup in which there are at least two servers to handle the client requests. The servers access the files from a separate file server and the database from a special database server.  The requests are routed to the servers by a special load balancer which makes sure that the requests are evenly divided between the servers.

If your application does not have major file writing operations you can also store the files locally on the two servers and remove the file server from the configuration. This server setup uses file replication to store the files across all front-end servers and any file change on one of the servers is replicated across all servers. This scheme is not suitable if your servers need a lot of file updates and changes because of the extra load that will impose.

Setting this up on IIS7 has become easier than ever thanks to the new Shared configuration feature of IIS7 which allows you to place a common configuration file that will automatically configure all the front-end server you possess.

There are two stages to setting up a web farm for DotNetNuke. You have to configure DotNetNuke to work with a web farm and you have to configure a web farm environment At the server level.

Let’s discuss the configuration of DotNetNuke first. We’ll learn how to configure IIS7 shared configuration a little while later.

Setting up DotNetNuke for Web farm

Modifying the Web.config File to Enable Web Farm Support for DotNetNuke

DotNetNuke uses the web.config to store application settings that decide how it will work. To enable the support for web-farms you have to tell DotNetNuke that it’s in a farm environment. To do this you need to enable web farm support in the Config file.

Create Common Machine Keys

DotNetNuke requires that the machine keys of all the frontend servers in the web farm be identical. You can choose the machine keys of any server and must copy it across the servers. The machine two keys to replicate are ‘MachineValidationKey’, and ‘MachineDecryptionKey’.

The Keys are in configuration->appsettings section of the web.config file.

Enable Web Farm

Check that the EnableWebFarmSupport setting is set to ‘True’ in the Configuration->AppSettings section of the configuration file. If this setting does not exist then add it.

Add Support for DB Logging Provider

In a farm environment the logs must be kept in a database. You need to setup DotNetNuke to keep the logs in a database. To do this make sure that the value of the defaultProvider node in configuration->dotnetnuke->logging node is set to ‘DBLoggingProvider’.

Setting up the Scheduler

DotNetNuke’s scheduler which looks after the regular maintenance tasks needed to keep the website running popularly must also be configured according to the needs of the web farm. Some of the tasks must be run on each machine, while others must be run on specific ones. You’ll need to change the schedule manually.

To change the task schedule first log in as the Super User and go to the Schedule option of the Host menu. Clicking on the button ‘Run on Servers’ will bring a text-box where you can fill the server name where you want each task to run.

The tasks that you may need to modify include : DotNetNuke.Services.Scheduling.PurgeScheduleHistory, DotNetNuke.Services.Log.Eventlog.SendLogNotifications, DotNetNuke.Services.Search.SearchEngineScheduler, DotNetNuke.Modules.Admin.ResourceInstaller.InstallResources, and DotNetNuke.Services.FileSystem.SynchronizeFilesSystem.

You’ll also need to enable the task DotNetuke.Services.Cache.PurgeCache. Make sure this task is enabled and updated.

Enable File Based Caching

DotNetNuke does not support database based caching in a web farm scenario. To optimize the caching performance the caching should be file based only. Make sure the node configuration->dotnetnuke->caching has the value ‘FileBasedCachingProvider’ for the attribute ‘defaultProvider’.

Configuring IIS 7 To Work With Your Web farm

Before IIS7 setting up a web farm on IIS was a non-trivial affair because IIS offered no automated replication and configuration across all servers. From IIS7 you can create a standard configuration on one server and replicate it across all servers by sharing only some configuration files. This makes it much more easier to create a web farm for your websites.

First configure your web server as usual to host the website, and when you’ve set up everything use the ‘Shared Configuration’ facility of IIS to export the server configuration files. The files should be exported to a UNC Share location which will be accessed by all the servers in the web farm for the configuration settings.

You will have to similarly enable shared configuration across all your servers and point to the same location where you have the original configuration settings saved. All the servers will copy those configuration settings.

You can easily setup the file server using the following command on the command prompt of the server which you want to use as the file server. Otherwise you can also use the windows graphical interface to set the necessary user permissions for the shared area.

md %SystemDrive%\serverconfig
net share serverconfig $=%SystemDrive%\serverconfig /grant:Users,Change

Note that we are also granting the users the right to modify the shared  contents.

The UNC share will also act as a file shared server, and the servers will grab the files from the share to serve to the client requests. Make sure that you set the file server location as the Home directory of the web server to enable this. A file share is essential to a DotNetNuke web farm.

This concludes the tutorial to establish a Web farm for your DotNetNuke website. If you have made the configuration changes to both DotNetNuke and IIS then your web farm environment should be up and running. 

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



DotNetNuke Tutorial - Quick Tips to Add Images to Your DotNetNuke Website

clock Oktober 17, 2018 06:20 by author Kenny

Most business owners would just do anything to boost their organic rankings, increase customer traffic and convert more leads.  While fresh content, meta tags and keywords work wonders to optimize your site for the major search engines, there are often few factors that are overlooked, but contributes to the site’s rankings. Including high quality images to your website is one effective means that can help you to improve the user experience and also enhance the SEO.

DotNetNuke is one of the best CMS that is used by organizations to develop their websites. It is extremely flexible and easy to use and also offers rich features that can be fully integrated into the website. The platform offers various modules and this allows business owners to easily customize their websites. Adding images are important for your website, but I have come across several DotNetNuke developers who do not understand how to prepare images before uploading them to the site. Here in this blog, I will give you a quick overview of the entire process.

The image formats: If you have selected a DNN development company to create your website then the designers can help you to add perfect images on your site. There are usually two main image files and they are the JPEGs and GIFs. These formats help to compress the file size of an image and this helps with smooth transitions. You can convert the images in any of the desired format and save them, which will ensure that the pages download in the quickest time. While adding images on a page, consider its dimension, file size, number of images and the total file size so that it can be kept to the minimum.

Dimensions of the images:  Many DotNetNuke developers have problems determining the size of the images. The image dimensions should always be determined according to their use, where they are going to be placed and how much screen space you want them to cover. A corporate logo should always be a small one and a location map should be legible where the small features can be identified.

Optimize the image: Your DNN website should be properly optimized so that it becomes more visible to the audience. Once the dimensions are decided for your image, you can compress it to a suitable size using an image editor. Now preview the image and adjust the settings and check how long it will take to download. Create the best optimized image and change the setting before using it.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



DotNetNuke Tutorial - Top 10 Benefits of DotNetNuke

clock Oktober 11, 2018 09:41 by author Kenny

If you're considering DotNetNuke for your website, you're probably researching the platform to understand the advantages of DNN  over other products. We want to make this process easy for you, so we've listed what we believe are DotNetNuke's top 10 benefits. Of course, depending on who you ask these "top advantages" may be slightly different according to the goals of other websites. Our list is meant to provide general list of benefits for businesses of all sizes.

Simple content editing and creation

First thing's first. A great CMS needs to make content management easy, and DotNetNuke does just that. Whether your a team of one or a team of managers, editors, and writers, DNN gives its users a robust rich text editor and many options to create great content. For largers teams, content workflows can be put into place for permission setting and approval management.

Advanced features

The features of DotNetNuke, whether out of the box or with third party modules, can be extremely powerful for businesses of all sizes. User management, advertisement management, email marketing, document management, multilingual ability, blog management, and more are included to help marketing and IT teams manage their website.

Unmatched security

DotNetNuke provides extremely thorough security. Each user group is provided its own permissions, and all users can be sorted into these groups based upon what the operations require. As opposed to other CMSs that may require you to install a third party (and probably weak) application, DotNetNuke has a security model built into the CMS architecture. This makes DNN one of the most secure platforms for websites on the market.

Ultimate platform flexibility

DNN, because it is based on ASP.NET, is extremely extensible with pre-made or custom modules. It can be easily integrated with virtually any business application, especially those in the Microsoft stack of Dynamics (GP, CRM, etc.).

Website speed

DotNetNuke's efficient code base ensures that websites run quickly to provide a great user experience for all of your site visitors.

Based in portals

The portal based architecture of DotNetNuke allows your business to run many sites on just one DNN installation. This can be beneficial if you need to run an intranet as well as your website, or multiple portals for individual departments.

Great for applications or intranets

Because of its flexible code base and architecture, DotNetNuke can be a great host for web apps or intranets. This is helpful for companies that want to manage many different IT assets on one easy platform.

Well supported

DotNetNuke Corporation offers central technical support. Also, because DNN is open source, there are many partners that support it all over the world. This makes your investment in DotNetNuke a safe one for many years to come.

Reduced cost

Based on your company needs, whatever version of DNN you choose, it will be a significant cost saving venture over other options (especially the custom ones that cost many tens of thousands of dollars to complete a project).

Proven and established

DotNetNuke has been used for 700,000 websites over many years, including for major companies and organizations such as NASA, Lockheed Martin, Verizon, USAA, WeightWatchers, Bose, NASCAR, Cornell University, Dannon, Kia, Hilton, Whirlpool, Chrysler, Motorola, and more.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions

Author Link


 photo ahp banner aspnet-01_zps87l92lcl.png

Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Tag cloud

Sign in