dotnetnukedotnetnuke-settings

DNN portal alias with internal IP


I'm having trouble figuring out if/how I can an internal webserver setup for testing with mutliple DNN portals. I'm pretty new to DotNetNuke, so I'm not sure if what I want to do is even possible.

My server is at an IP of 192.168.15.16. I have the main portal set up with a portal alias of this IP. That site works fine. But then I have a couple other sites (lets call them A and B) to configure.

I'd like to navigate to 192.168.15.16/A and 192.168.15.16/B to view these sites. Portal aliases to these don't seem to cut it. I get a 404 error and I believe it's because IIS adds A or B to the physical path, which doesn't exist.

Is there a way to set this up? Maybe something I need to change in IIS? Maybe I'm going about it the wrong way? Thanks!


Solution

  • 1) On any machine that you need to access the test sites, Edit C:\Windows\System32\drivers\etc\hosts to include:

         192.168.15.16    A
         192.168.15.16    B
    

    2) Set the portal alias of site A to "A"

    3) Set the portal alias of site B to "B"

    4) Access site A via http://A/

    5) Access site B via http://B/

    6) Edit the bindings of your IIS Site to include "B" and "A" host headers

    Notes