View Full Version : I need a simple walkthrough on a dotnetnuke parent portal
androoo
09-12-2006, 05:11 AM
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
bruce
09-12-2006, 05:27 AM
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 (http://www.DiscountASP.NET)
androoo
09-13-2006, 07:09 AM
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
bruce
09-14-2006, 12:19 AM
the redirect should preserve the domain name.. i am not sure why it doesn't do that.
You can also try something like what's described in this kb article, http://kb.discountasp.net/article.aspx?id=10102
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
androoo
09-14-2006, 05:41 AM
Feel like im making progress but still not working.
The target domain im making the portal for: www.somedomain.com (http://www.somedomain.com)
My Portal domain : www.mydsap.com/dnn (http://www.mydsap.com/dnn)
When i redirect from www.somedomain.com (http://www.somedomain.com/)to www.mydsap.com/dnn (http://www.mydsap.com/dnn)the url in the address bar shows :
www.mydsap.com/dnn/ (http://www.mydsap.com/dnn/)www.somedomain.com (http://www.somedomain.com)- this looks like it might be correct ?
The result is a http 404 file not found.
Does that mean its the portal that has the error ?
Thanks for any tips from anyone ...
joelnet
09-14-2006, 08:03 AM
copy and paste your redirect statement
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
androoo
09-14-2006, 08:57 AM
<%Response.Buffer = True%>
<%Response.Redirect "http://www.excommerce.net/_demo1"% ('http://www.excommerce.net/_demo1"%')>
demo1 is where my dnn installtion exists
when i navigate to www.northwaves.com (http://www.northwaves.com) (which is the site I want to create the portal for) it redirects to www.excommerce.net/demo1 (http://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
joelnet
09-14-2006, 10:08 AM
Your redirect seems to be working, when i visitwww.northwaves.com (http://www.northwaves.com)I am redirected to www.excommerce.net/_demo1 (http://www.excommerce.net/_demo1).
This is what you wanted right?
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
vvsharma
09-15-2006, 05:51 AM
<%Response.Buffer = True%>
<%Response.Redirect "http://www.excommerce.net/_demo1"% ('http://www.excommerce.net/_demo1"%')>
You are explicitly </o:p>redirecting to excommerce.net/_demo1.If you want DNN to consider www.northwaves.com (http://www.northwaves.com/)as 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 (http://www.discountasp.net/)
androoo
09-15-2006, 09:24 AM
Thanks for the feedback
The thing is that the redirect is showing the host site (excommerce) not the portal created for www.northwaves.com (http://www.northwaves.com)
DNN doesnt seem to recognise that I have added www.northwaves.com (http://www.northwaves.com) as a parent portal
androoo
09-16-2006, 08:04 AM
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 (http://www.mydsap.com)
And i want to create a parent portal at www.mydsap.com/test (http://www.mydsap.com/test)
How do I get www.mydsap.com/test (http://www.mydsap.com/test)to open the parent portal ive created at www.mydsap.com (http://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
androoo
09-19-2006, 06:32 AM
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 (http://www.domain.com/)
>www.domain2.com (http://www.domain2.com/)
>all handled by the same installation.
great so what is the method i should use to get www.domain.com (http://www.domain.com) / www.domain2.com (http://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 (http://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 (http://www.mydsap.com/)
And i want to create a parent portal at www.mydsap.com/test (http://www.mydsap.com/test)
And lets say that www.mydsap.com/test (http://www.mydsap.com/test)is 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.
bruce
09-19-2006, 11:48 AM
>Lets say I have my dnn portal at www.mydsap.com (http://www.mydsap.com/)
>And i want to create a parent portal at www.mydsap.com/test (http://www.mydsap.com/test)
i don't think you can do that
DNN is designed to handle multiple domains, for example
www.domain.com (http://www.domain.com)
www.domain2.com (http://www.domain2.com)
all handled by the same installation.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
crusch
10-09-2006, 03:54 AM
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 (http://www.albertinakerr.org)
I have added portals www.race4theroses.org (http://www.race4theroses.org) and www.spotlightonkerr.org (http://www.spotlightonkerr.org)
Prior to adding index.asp, my portals all redirected to www.albertinakerr.org (http://www.albertinakerr.org) as expected.
I added index.asp with the redirect code:
<%
response.redirect("\dnn")
%>
When I go to www.race4theroses.org (http://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
androoo
10-09-2006, 04:15 AM
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 (http://www.albertinakerr.org/)( i think !)
In your dasp control panel you have an option called DNS names
you need to add www.race4theroses.org (http://www.race4theroses.org/) in dns names in your main site www.albertinakerr.org (http://www.albertinakerr.org), this way when the redirect comes to www.albertinakerr.org (http://www.albertinakerr.org/)it knows which dnn portal to point to.
the other step is to alter the dns settings to point www.race4theroses.org (http://www.race4theroses.org) over to www.albertinakerr.org (http://www.albertinakerr.org).
So you need to log into the control panel for www.race4theroses.org (http://www.race4theroses.org/)and make sure that when www.race4theroses.org (http://www.race4theroses.org/) it redirects to the ip address of www.albertinakerr.org (http://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
bruce
10-09-2006, 08:39 AM
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 (http://www.DiscountASP.NET)
vBulletin® ©Jelsoft Enterprises Ltd.