Does anyone know how to get the Portal Alias to work in DotNetNuke?

Discussion in 'Third-party applications' started by financialpl, Feb 18, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. My setup has an original Aliasof www.ABC.com/DotNetNuke/Website(where the Default.aspx resides). I added a new Alias like www.ABC.comwhich I can edit.I now show 2 Aliases. I want the user to be able to type in www.ABC.com to start the app. If I type www.ABC.com in the browser, I get the directory listing, which makes sense because there?s nothing in there. If I turn directory browsing off in IIS, then I get the server error that it's been turned off.


    How do I use www.ABC.com to run the application? Is there something else to configure in DNN. I don?t see anything. I don't want the user to see DotNetNuke/Website in the browser.


    <O:p>Temporarily I have a redirect aspx in www.ABC.com (the root) so it starts the app, but it still displays www.ABC.com/DEF/GHI/Default.aspx in the browser.</O:p>


    <O:p>Any help on this matter would be greatly appreciated.</O:p>


    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks. That's exactly what I want to do. Do youhave any idea how to do that? Is it on the DASP side or the DNN side?
     
  4. Does anybody know how to do this? If it's as easy asWright says above,I would love to try it.

    Thanks
     
  5. I have seen it written that if you add this lineto the web.config file it would not display the subdirectories in the address bar for my DotNetNuke application. The comment in my web.config file even says the following:


    <add key="HostHeader" value="" />


    <!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->



    My web.config file already contained that line butit still shows "www.mydomain.com/johndoe/Default.aspx"in the address bar. I am obviously missingsomething somewhere. Am I making this harder than it is? It would seem that most everyone has already figured this out.

    Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page