Hi guys, I've got a problem with moving DotNetNuke installation from one server to another.
I was developing DotNetNuke on my PC and was using the classic url form http://localhost/dotnetnuke. When I finished configuring the website, I had to move it to the web server. I added an http alias for the IP address of the web server, and another one for the IP address of the web server on the lan. I successfully moved DNN to the server (copying files, database, configuring IIS and file permissions). I've then deleted the localhost/dotnetnuke alias. But there's a problem:
When I access the portal from anywhere (lan or web) using the web IP, it gets to the main page, but: When I click anywhere in the site, DNN returns an url with the lan IP, and so I cannot continue! It seems it's using the lan IP as its primary. I've deleted the lan IP from the PortalAlias table of the DNN database, leaving only the web IP, and the website doesn't function at all (even after restarting IIS and recycling IIS app pools several times). It seems it only works when there's the lan IP in the aliases! It doesn't care about the web IP, as it always redirects to addresses using the lan IP. And when I go to the Admin > Site Settings, there's a pencil only for the web IP, as if the lan IP is default.
Is there a default http alias? And if yes, where's it stored? Apart from the PortalAlias table, is there anywhere else in DNN that the aliases are stored or cached?
Thanks for any help!