DotNetNuke installed in subdirectory

Discussion in 'Hosting Services / Control Panel' started by digitaldan3, Feb 2, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I setup DNN in a separate subdirectory as stated in the installation instructions from DASP. I can get to my site using www.mydomain.com/foldernameand everything works.

    I setup this folder as a webapplication however, when I browse to the website www.mydomain.com I get the index.html file in the root directory. What do I need to do to get www.mydomain.com to point to this subdirectory?

    Thanks

    Dan
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    you can create a simple redirect script

    Put this in your index.asp file (and remove index.htm)

    <%
    response.redirect('/dnn')
    %>

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I did this already as a temp fix. This however shows the full url in the browser. Is there a better way to do this. ie: Move the contents of my DNN site folder to the root. The documentation for installing DNN states that I should put the DNN stuff in its own subdirectory.


    What was the purpose of setting up the WebApplication on this folder?


    Thanks


    Dan
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    you can certainly move the dnn installation to the root. we recommend you put it in a subdirectory only if you intend to host other applications in your other subdirectory.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. Cool,I think the only thing I will have to do is fix the paths to the images on the site once I move everything to the root.

    Please update the documentation for installing DNN to either put in root or do the redirect thing. I wish I had know this earlier.

    Thanks

    Post Edited (digitaldan3) : 2/2/2009 9:12:39 PM GMT
     
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