Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN redirecting my portal URLs???DNN redirecting my portal URLs???
Previous
 
Next
New Post
1/16/2007 5:14 PM
 
Am reposting in CHAT in hopes someone can help... 

I am going to try to explain my problem again in this new thread now that I know a bit more of what is going on with IIS and DNN so as to cut down the confusion factor hopefully.

I am trying to setup 2 parent portals run off the same DNN installation on GoDaddy but cannot get the second portal to work at all and the Edit Bar URL changes to the actual "MyHostingDomainURL/DNN" path rather than remain the original portal URL. I have used an HTTP header viewer to also verify I am getting a 302 redirect from the DNN installation.

What I have done so far is the following:

1. Installed DNN in a subdir called DNN on my GoDaddy root directory and did SETROOT etc. permissions on the DNN directory. I also configured IIS via the GoDaddy control panel to set the domain http://MyFirstDNNDomain.com to /DNN as well as http://MyOtherDNNDomain.com to /DNN. After logging into the first portal as host and defining a second portal the first portal has two URL aliases being MyHostingDomain.com/DNN [which is not editable] as well as MyFirstDNNDomain.com and the second portal has one URL alias MyOtherDNNDomain.com.

2. I can get to my portal http://MyFirstDNNDomain.com but the Edit Bar changes to http://MyHostingDomain.com/DNN.

3. If I got to portal http://MyOtherDNNDomain.com I always get the first portal not the new second portal and the Edit Bar also says http://MyHostingDomain.com/DNN rather than reamin the second portal's URL.

I have verified that if I use control panel to map either of my portal URLs to some other web directory on my server other than /DNN then I do not get the 302 redirect but rather a normal 200 OK and my Edit Bar URL stays the same so DNN must be doing the redirect, not anything at GoDaddy.

GoDaddy in fact researched this and says that something inside DNN is redirecting my URL and causing the Edit Bar to change URLS which not only seems not very user freindly but worse I think it is also preventing my second portal from being seen by DNN.

Help!!!!!!!!

Why is DNN doing a redirect on both of my URLs to the same hosting address?

Why can I not enter my second portal?

Where are the files that cause the redirect so I could perhaps verify this or tweak it?

Can you be logged onto 2 portals as part of the same DNN installation from the same computer???

Thanks much, Dave

 
New Post
1/16/2007 11:51 PM
 

For me, the most common cause of this issue is that I haven't created a "portal alias" in DNN for the Url.

If you log into your site as "host", you can use the Admin->Site Settings page to verify whether you have created a "portal alias" (down the bottom of the page) for each of the Urls you want to use. 


 
New Post
1/17/2007 1:07 AM
 

I have set both of my portal domain names to the /DNN subdir in my shared hosting server root directory.

And within DNN I have 2 aliases for the primary portal - e.g. www.myhostingdomain/dnn which I think was put there by default and that I cannot edit and www.domain1.com which I added. For the second portal that I defined I set www.domain2.com as the alias.

My first portal works but the edit bar gets the redirected URL of www.myhostingdomain/dnn no matter whether I type in www.domain1.com or www.domain2.com and I have never been able to get a new portal view for my second portal as I always get the domain1 view.

Interestingly, if I set host settings to have my second domain the default portal and then enter in the second portal URL I seem to just hang and get no response back at all. From either portal URL.

I thought I may have just locked myself out of my site but entering www.myhostingdomain/dnn still worked. The 2 portal domains seem to not respond at all after several minutes. SOrt of tells me either portal URL alias is not working but rather only the redirected actual hosting URL with the /DNN subdir.

When I see doc on the alias names they are of the form www.portalname.com with no http:// header or subdirectory decorations. SHould they be something else to not cause the 302 redirect???

Is a 302 redirect normal for DNN to send to the browser? Seems at best a waste of turnaround.

Thanks, Dave

Doing some more testing I have an update:

If I use an HTTP header viewer and GET www.myhostingdomain/dnn I am returned a 302 redirect whereas if I GET www.myhostingdomain/dnn/ with the trailing / I get the expected 200 OK header. Could this be the reason my aliases are not working? They are getting 302 FOUNDs and were redirected to my actual hosting dir URL originally until I switched the default portal to the second portal I created and now the 302 resposnes redirect to the 2nd portal which never responds. I tried various combinations of terminating / and /DNN suffices to no avail.

After a bit more testing the non response seems to be a 302 request loop. If I enter either portal name rather than the hosting URL the browser hangs saying "Connecting" and spins the box around 10% busy until I stop the browser.

And after setting the host back to the default portal, the one with the actual hosting URL alias of www.myhostingdomain/dnn I am back to my original problem where both my portal names resolve to www.myhostingdomain/dnn/ and show the first portal website.

At minimum, seems like DNN is doing some strange redirecting and not recognizing my portal URL names.

 
New Post
1/17/2007 11:12 AM
 

Thanks to jraven my problem is solved!

I added the /DNN subdir to my alias names and everything works! I get 200 OK headers for both of my portal URLs now. Documentation was clear as mud that one should have any subdir as part of the alias name...

- Dave

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN redirecting my portal URLs???DNN redirecting my portal URLs???


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out