Localhost transfer to Live website
Last Post 12/22/2009 10:14 AM by Lee Sykes. 6 Replies.
Author Messages
QDelft
Nuke Newbie
Nuke Newbie
Posts:7


--
12/15/2009 4:32 AM  
Hello everyone,

I have followed all the steps in the DNN Creative tutorial 'How to transfer a localhost DotNetNuke installation to a live website' . Which was very helpfull and clear, but still I am stuck.

This is what I have done(global steps, I followed the tutorial by heart):
- I added the new domain (without the http:// ofc) to the portal aliases
- backup'ed the database and restored it on my test server
- Copied the Dnn files
- Altered the web.config
- verified that iis and asp.net works by using the app_offline.htm

But when I rename the app_offline.htm the site gets redirected to localhost instead of the test server domain.

I feel I am pretty close but I need the last push to make it work, I have searched these and the dnn forums but that didn't came up whith usefull solutions.







Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
12/15/2009 7:15 AM  
Hello,

On your live database, you will need to remove the localhost portal alias.

Open your database and go to the Portal Alias table, remove the portalalias row that is for your localhost -

OR

try deleting that row for localhost and then add it underneath the portal alias row for the live site. This should ensure that the Live site URL is read before the localhost one and if you wish to transfer the live site to local in the future the alias is already there.
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
QDelft
Nuke Newbie
Nuke Newbie
Posts:7


--
12/17/2009 9:12 AM  
Hi Lee,

thank you for replying on my question. I have followed your suggestion and deleted the localhost row from the portalAlias Table and added it after my testsite alias. But now the testsite is stuck in an infinite redirect loop to the testsite alias.

I there something else I might have done wrong?
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
12/17/2009 10:02 AM  
ok have you tried removing the localhost row completely?
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
QDelft
Nuke Newbie
Nuke Newbie
Posts:7


--
12/21/2009 3:36 AM  
Yes I have tried that as well, but with the same result.

I have googled the infinite loop issue and it seems te be an issue with DNN. I have tried the suggestions like 'updating the ASP.NET AJAX framework' and 'setting the Trust setting to full trust'

But none of these suggestions seem te change anything. At the moment I am grasping at straws.
QDelft
Nuke Newbie
Nuke Newbie
Posts:7


--
12/21/2009 6:56 AM  
I solved it!

By uncommenting the usePortNumber setting in the appSetting section:
add key="UsePortNumber" value="true"

The site stopped looping and showed the dnn site. Hopefully this solution can help others with the same problem.
Thanks for your quick replies Lee it is greatly appreciated.
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
12/22/2009 10:14 AM  
thanks for the update
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---