Search code examples
dotnetnuke

How to access content of a DotNetNuke portal?


Total noob question on DotNetNuke, using it for first time.
My client gave me a dump of his website (made in DNN) and he wants to host his site with me.

He has a list of portals. I would like to know how I can view one in localhost.
I have created a DotNetNuke application in my local IIS that points to the code my client gave. This folder has DotNetNuke.webproj file.

Inside Portals directory I got a folder named StackMe, for example. How do I access that portal?

When I browse to http://localhost/DotNetNuke/ it redirects to http://localhost/DotNetNuke/Install/UnderConstruction.htm


Solution

  • If it's redirecting to Under Construction, the site probably isn't able to reach the database. DotNetNuke isn't going to be able to display anything without a connection to the database. You might get more information if you try to hit http://localhost/DotNetNuke/Install/Install.aspx?mode=none

    The mapping of a portal to a URL is handled in the PortalAlias database table. You should just be able to add your localhost URL to that table, and then be able to access the site (once the site can hit the database). If the site has multiple portals, you'll need to add an alias for each portal you want to access.