Hosting a dnn site on a port other than port 80
Last Post 12/04/2009 9:03 AM by Joseph Craig. 2 Replies.
Author Messages
dpss
Nuker
Nuker
Posts:17


--
11/30/2009 5:44 AM

    I am having issues in hosting a dnn site other than port 80. I am trying to host 2 seperate DNN sites on the IIS server. I have disabled the default web site in IIS

    I have configured one site to port 80 (SITE#1)

    I have now configured another site to port 8080(SITE#2)

    I have modifed web.config file of SITE#2 and added the following under appsettings . However whenever i try to access SITE#2 i am taken to SITE#1.

    Is there some additional settings i need to do on either SITE#1 or SITE#2?

    dpss
    Nuker
    Nuker
    Posts:17


    --
    12/03/2009 2:52 AM
    We are using IIS 6.0 . Can you please let me know configuration steps to host a dnn site on a port other than port 80. We will eventually have one DNN installtion with multiple sites
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    12/04/2009 9:03 AM
    From a post at DotNetNuke.com:

    You'll need to include the element < add key="UsePortNumber" value="True" / > in the < appSettings > node of your web.config file.  This flag will enable the port-parsing code in the urlRewrite httpmodule. 

    Your final httpalias will look something like:

    localhost:30000


    You will also need to make sure that the port number is included in the portalalias table.


    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---