404 error after portalAlias port change
Last Post 09/17/2009 10:35 PM by Joseph Craig. 5 Replies.
Author Messages
misa
Nuke Newbie
Nuke Newbie
Posts:4


--
09/15/2009 8:31 PM  
Quick Background: I'm running server 2003 standard and opened port 8082 on my router and assigned an alias domain to my public IP so that clients can proof their site prior to transferring data to a hosting provider. I've installed DNN 5.1 and have the VD's running on port 8082. Tested localhost:8082/sitename and all is good. I logged in as host and added portal alias domain/sitename and then logged in to SQL 2005 Express and modified the portalAlias table to read domain:8082/sitename. I also uncommented in the web.config file. Now when I go to domain:8082/sitename the initial page loads just fine but if I try to click on any links I get nothing but HTTP 404 errors, i.e. Requested URL: /sitename/Login.aspx Also, if I go to localhost:8082/sitename I'm redirected to localhost/sitename. I tried adding the port number into the portalAlias table for that URL, but then I'm told to clear cookies as there has been too many redirects. Even after I clear cookies, I can't get the page to load in any case. What am I doing wrong or what can I do to fix this?
Joseph Craig
DNN MVP
Posts:11667


--
09/15/2009 10:27 PM  
"if you have a port number in the URL you access the site with then the URL with port number has to be in the PortalAlias table and the set to true in the web.config."

So, the first thing to check is that usePortNumber is set to true in web.config.

Joe Craig, Patapsco Research Group
Complete DNN Support
misa
Nuke Newbie
Nuke Newbie
Posts:4


--
09/16/2009 12:01 PM  
I've made that change in the web.config file and am now trying to access with port number but that is when the links stopped working. Prior to adding a port in the db and making changes to web.config everything was working fine. My initial page loads just fine. It's just from there if I click on the Home link, Login, Register, etc. then I receive the "Server Error in Application" 404 error on all links.
misa
Nuke Newbie
Nuke Newbie
Posts:4


--
09/17/2009 1:18 PM  
Does anyone have any other ideas as to why this would be happening?? I'm close to installing a previous version of DNN to see if the problem occurs there.
misa
Nuke Newbie
Nuke Newbie
Posts:4


--
09/17/2009 3:27 PM  
I installed the last release of 4.9.x and went through the same process EXCEPT this time the site lets me login without error. Is this a problem with 5.1.x specifically? Is anyone experiencing this issue?
Joseph Craig
DNN MVP
Posts:11667


--
09/17/2009 10:35 PM  
You probably want to ask this one on the DotNetNuke forums.  I haven't done this with 5.x.

Joe Craig, Patapsco Research Group
Complete DNN Support


---