DNN Blogs

Written for the Community, by the Community

DNN Portals & Portal Groups: Use Cases, Pros, and Cons

Written By Alex Pommier
2024-11-28

To portal or not to portal, that is the question.

What is a DotNetNuke (DNN) Portal?

Portals are a powerful feature in DNN that allow a superuser (the highest-level administrative permission, not to be confused with the “Administrator” role) to create additional websites within a single DNN installation. These portals can be configured to operate at either the domain or directory level. For example, a website with the domain www.dnndev.me could have an additional portal at www.myotherdomain.com or www.dnndev.me/myotherwebsite. The choice is yours during portal setup or even later on if you change your mind. 

What are Portal Groups?

Portal Groups in DNN allow you to group multiple portals into a shared framework. This enables the user base of one portal to be accessible across all portals within the same group. For example, users registered on Portal A can also access Portal B and vice versa. This feature is especially useful when seamless user synchronization is needed across multiple websites.

The Portals and Portal Groups features in DNN are powerful tools and a significant selling point. They provide the ability to manage multiple websites under one platform, making them a valuable proposition for the right use case.


Use Cases for DNN Portals

Here are some scenarios where using portals can be particularly beneficial:

  • Multi-Brand Businesses: A client with multiple subsidiaries or branches may want separate websites that are easily managed by staff but maintain each entity’s unique branding and marketing.
  • Marketplaces: A marketplace owner may want clients to have their own stores with a distinct look and feel independent of the main website.
  • Distribution Companies: A distributor might need a main website for their operations while showcasing each brand they represent on separate portals.
  • Franchise Chains: A restaurant chain owner could use portals to allow franchisees or sub-chains to customize their own sites while maintaining overall control.
  • Medical Practices: A group of doctors could have a main website for the practice and individual portals for each doctor to highlight their specialties.
  • Real Estate Agencies: Real estate agencies could give each agent a personalized website while sharing resources like property listings from the main website.

These examples showcase scenarios where DNN portals shine. Consider these or adapt them to your own projects to see if portals and portal groups fit your needs.


Considerations and Challenges

While portals are a great feature, they introduce inherent complexities. Here are a few things to keep in mind:

  1. Shared Resources: All portals within a DNN installation share the same SQL database and IIS worker process. This interconnectedness impacts performance and security. Heavy traffic, high resource usage, or vulnerabilities on one portal can affect all others.
    • Mitigation: You can address these issues by using technologies like SQL Always-On and configuring multiple IIS worker processes (web gardens). Consult with your IT or hosting provider to account for such scenarios.
  2. Security Concerns: The shared nature of portals means that a breach, malware infection, or other security issue on one portal could potentially compromise the entire installation. Ensure proper security practices and contingency plans are in place.
  3. Portal Independence: Moving or converting a portal into a standalone installation can be costly and time-consuming. For example, if a parent company sells off a brand, separating the portal from the main installation may require significant effort. Built-in tools like import/export and third-party modules can help but may not fully mitigate the complexity.

Pros and Cons of Using DNN Portals

Pros

Cons

Modules can be shared across portals. (Note: Paid modules may have licensing restrictions.)

Upgrades to DNN or extensions affect all portals. (A failed upgrade can cause widespread outages.)

A superuser account can manage all portals within a single installation.

Security issues on one portal may compromise others.

Useful for marketplace applications where each client has a unique store.

Shared users across portals can pose challenges, especially with import/export modules.

Ideal for organizations with multiple chapters.

Troubleshooting can be tricky; issues on Portal B may originate from Portal A, and vice versa.

Portals can share the same user base.

Performance bottlenecks without proper optimization (e.g., SQL and IIS resource management).

Great for multi-brand companies or organizations with umbrella structures.

 

Final Thoughts

Using portals and portal groups in DNN can be a significant advantage for certain projects. However, these features come with challenges that should not be overlooked. Careful planning and communication with your IT or hosting provider are essential to ensure optimal performance and security.

If you decide to implement portals, be upfront with clients about potential complexities, including the costs and effort of converting a portal into a standalone website if needed.


This blog post was inspired by discussions on the DNN Community Discord group. Our thriving community is here to help—have questions about DNN? Join us on Discord at https://discord.gg/naynmjzekH

Special thanks to these contributors for their insights on the Pros & Cons of portals:

  • João Gomes
  • Violet R / 6TELOIV
  • Accuraty/Jeremy
  • iJungleboy
  • DNN Dave
  • Daniel Valadas
  • Tycho de Waard
Total: 3 Comment(s)
Thank you for your contribution :-)
Thursday, November 28, 2024 ·
Great article! Thank you Alex
Monday, December 9, 2024 ·
Alex this is an excellent primer on the use cases for Portals within DNN instances, super thanks! We have seen DNN implementers have maxims such as "I'll fill up to 100 Portals and then start a new DNN instance" but at past DNN Community conferences, I have presented an award for "the most DNN Portals" and we have had award winners with 1000 and 2000+ Portals!
Monday, December 16, 2024 ·

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved