Why DNN Redirects me?
Last Post 02/28/2009 12:30 AM by Eriol. 5 Replies.
Author Messages
Eriol
Nuke Newbie
Nuke Newbie
Posts:6


--
02/26/2009 7:28 AM  
The situation looks so: I write (in local machine) http://localhost/dotnetnuke - DNN works normally. But when some body (in another machine) types http://my_IP_address/dotnetnuke. DNN Redirects to http://localhost/dotnetnuke. Where is the solution.
Joseph Craig
DNN MVP
Posts:11667


--
02/26/2009 12:25 PM  
The solution is DotNetNuke's "portalalias."

Go to Admin, Site Settings and locate the Portal Alias settings section. Add an alias so that DotNetNuke will recognize the IP address as a reference to the site. The portal alias that you add should be something like "IP_Address/dotnetnuke."


Joe Craig, Patapsco Research Group
Complete DNN Support
Eriol
Nuke Newbie
Nuke Newbie
Posts:6


--
02/27/2009 12:39 AM  
Thank you so much))
Eriol
Nuke Newbie
Nuke Newbie
Posts:6


--
02/27/2009 6:24 AM  
Some problem(((

Nothing changed. When somebody type in address bar http://my_IP/dotnetnuke
DNN redirects to http://localhost/dotnetnuke.

Why? this looks so strange.

In web.config i changed Version of AJAX from old to 3.5.0.0 and also
added .

DNN throws some udefined errors. Now i am heavy frustrated and don't know what else can i do.
regards
Joseph Craig
DNN MVP
Posts:11667


--
02/27/2009 11:15 AM  
If you added a portalalias entry, that should have fixed the redirection.  Can you post your portal aliases?

As for AJAX, you may now have incompatible files.  I'd try reverting back to the original.

Joe Craig, Patapsco Research Group
Complete DNN Support
Eriol
Nuke Newbie
Nuke Newbie
Posts:6


--
02/28/2009 12:30 AM  
What i've done to fix this problem:

1. Host->Portal Settings and here we have
.NET Framework: 2.0.50727.1433, (3.0), (3.5) "Use current configuration" link
2. Having pressed this link, i just opened web.config. Here, in web.config, version of AJAX changed to 3.5.0.0 from 1.0....
3. Then, i added portal alias to table PortalAlias. I deleted localhost/dotnetnuke and added 192.168.0.25/dotnetnuke.

Now, when somebody call my website typing 192.168.0.25 in address bar, nothing changes.

Working!!!

Ignat.


---