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
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.
If you're seeing the under construction page, something's amiss (captain obvious here).
Some steps to help troubleshoot on your local machine:
<connectionStrings>
, check the <add name="SiteSqlServer" ... />
element. <appSettings>
check the <add name="SiteSqlServer" ... />
element.select *
). Make note of the Portal ID.INSERT INTO PortalAlias (PortalID, HttpAlias) VALUES (<YourPortalID>, 'http://yoururl')
If all that fails...
I have had limited success is renaming the Install
directory to something else, say _Install
and hitting the site again so that I can see what the ASP.NET error is. After I get the site running again I revert it to its original name.
Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With