I need a simple walkthrough on a dotnetnuke parent portal

Discussion in 'Third-party applications' started by androoo, Sep 12, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi
    Can someone point me in the direction of a simple walkthrough on a dotnetnuke parent portal.

    I just dont seem to get it.
    If i create a child portal a sub directory is created in the application. ok.

    When i create a parent portal, how do i link the parent url to my installation of dotnetnuke ?
    And , can this work on dsap ?
    Please explain :)

    Post Edited By Moderator (Joel Thoms) : 9/12/2006 8:38:34 PM GMT
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    you can do a simple redirect


    create a page and name it index.asp, put the following in the file


    <%
    response.redirect("\dnn")

    %>


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. hi bruce


    Thanks for your help, i tried the redirect as above but the domain redirected to my host directory.


    I have definately added alias in the poral parent i created to match that of the domain im redirecting from.


    Do i need to add parameters to the redirect?


    When a site redirects it will lose the path in the address bar, and use that of the portal host, is that correct ?
    Thanks for help:)


    Post Edited (androoo) : 9/13/2006 6:17:31 PM GMT
     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. <%Response.Buffer = True%>
    <%Response.Redirect "http://www.excommerce.net/_demo1"%>


    demo1 is where my dnn installtion exists

    when i navigate to www.northwaves.com (which is the site I want to create the portal for) it redirects to www.excommerce.net/demo1 host account.
    Im going crazy on this, has anyone got a url outside of daspto work on a dasp installation of dotnetnuke?

    I have gone throught the dotnetnuke forums andcan find nothingrelatedto url redirect.




    Post Edited (androoo) : 9/14/2006 8:27:50 PM GMT
     
  6. <%Response.Buffer = True%>
    <%Response.Redirect "http://www.excommerce.net/_demo1"%>

    You are explicitly </o:p>redirecting to excommerce.net/_demo1.If you want DNN to consider www.northwaves.comas your parent portal ,you have to install DNN on northwaves.com and redirect to the application sub-folder instead.And remember ,install a fresh copy,since DNN modifies its database during installation.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  7. Thanks for the feedback

    The thing is that the redirect is showing the host site (excommerce) not the portal created for www.northwaves.com
    DNN doesnt seem to recognise that I have added www.northwaves.com as a parent portal
     
  8. Thanks for your time Vikram but im still totally lost on this subject.

    Disregard the last posts for a moment.
    Lets say I have my dnn portal at www.mydsap.com
    And i want to create a parent portal at www.mydsap.com/test

    How do I get www.mydsap.com/testto open the parent portal ive created at www.mydsap.com?
    Do i use a redirect script ?
    or
    Do i alter the http headers under DNS manager?


    Many thanks

    Andy

    Post Edited (androoo) : 9/17/2006 5:30:37 AM GMT
     
  9. Thanks for coming back to me.

    >i don't think you can do that
    >DNN is designed to handle multiple domains, for example

    >www.domain.com
    >www.domain2.com

    >all handled by the same installation.


    great so what is the method i should use to get www.domain.com / www.domain2.com to point to my dnn installtion on dasp?
    should i use a redirect script html or asp?
    shouldi ask my client to alter the http headers on the host of www.domain.com ?

    Is there a process for this ?
    I.e redirect host headers before creating the parent?


    On a last note regarding the previous post:

    Lets say I have my dnn portal at www.mydsap.com
    And i want to create a parent portal at www.mydsap.com/test
    And lets say that www.mydsap.com/testis configured as an application so i could refer to it as test.mydsap.com

    Does that mean i can use this under dasp and dnn as a parent portal?

    Thanks for the help here guys.
    When im done I promise to post in an article with how ive got this working on dasp.
     
  10. Bruce

    Bruce DiscountASP.NET Staff

  11. I too have been trying to get my DNN portals to work on DASP and I think I'm close, but still it's not right.


    My primary site is www.albertinakerr.org


    I have added portals www.race4theroses.org and www.spotlightonkerr.org


    Prior to adding index.asp, my portals all redirected to www.albertinakerr.org as expected.


    I added index.asp with the redirect code:


    <%


    response.redirect("\dnn")

    %>


    When I go to www.race4theroses.org the site redirects to:


    http://www.race4theroses.org/%5Cdnn


    I guess I don't quite understand what I should be putting in the response redirect code. Any insight would be greatly appreciated.


    Craig
     
  12. hi Craig

    Ididnt get any luck with the response.redirect method.

    You will need to buy the unique ip address option from dasp for your primary site www.albertinakerr.org( i think !)

    In your dasp control panel you have an option called DNS names
    you need to add www.race4theroses.org in dns names in your main site www.albertinakerr.org, this way when the redirect comes to www.albertinakerr.orgit knows which dnn portal to point to.

    the other step is to alter the dns settings to point www.race4theroses.org over to www.albertinakerr.org.

    So you need to log into the control panel for www.race4theroses.organd make sure that when www.race4theroses.org it redirects to the ip address of www.albertinakerr.org

    If you unsure about changing dns named A records like i am always ask the host, they should help you with this.

    I had such a headache getting my head around this, but its worth the effort when you get it working
     
  13. Bruce

    Bruce DiscountASP.NET Staff

    Can you post your index.asp code?

    I went to your sites that are supposed to be Portal Alias and I think you are doing something wrong in the redirect code.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
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