You need to Register for free and Login to post a message in the forum.

Forum

Subject: One for the Video Master - Moving a site from within a hosting company
Prev Next
You are not authorized to post a reply.

Author Messages
arthursc
DNN Creative Magazine Subscriber

Posts:20

18 Jan 2006 7:29 AM  

Hi Lee,

Thanks for the help via direct email so far. This one is for gen public.

As you are aware I have a development site hosted @ dev.triumph-motorcycles.net. This needs to be moved from it's current development directory to the livespace directory.

I have the following modules installed over and above the basics;

Active Forums
Repository (dec build)
Feedback 3.1
Gallery.

I know that it's simply a case of pointing the domain name to the new dir, but what do I need to consider from within DNN?

Kind regards

Colin.

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3352

18 Jan 2006 2:39 PM  
Hi Colin,

Video Master eh!? ;-)

If your dotnetnuke installation is already on your server and all you need to do is set a different domain name for the installation, you need to :

Set the Portal Alias for your installation:

Log in as Admin or Host
Go to the Admin menu / Site Settings for your portal
Scroll to the bottom - Portal Aliases
Click Add New HTTP Alias
Type your domain name
DO NOT include the 'http://'
Click Update

Navigate to your domain name & check that it is working correctly, click on all of the pages, check the domain name etc.

Once you are sure it is working correctly, you can delete the old portal domain name that's in the portal alias list

Hope this helps,

thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
arthursc
DNN Creative Magazine Subscriber

Posts:20

19 Jan 2006 1:50 AM  
What about moving the built folder to a new location i.e. from \\\\dev to \\\live??

The repository store the documents uploaded to a path of \\dev\respitory\documents\user how do I get around that?

Regards
arthursc
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3352

19 Jan 2006 3:09 AM  
Hello,

Ok, that makes it slightly more interesting...

[This was my first thought, but I think the second thought below will be more appropriate]

Ώ]

Do you have access to create another installation of DNN to a separate SQL database, or do you just have access to 1 SQL database where you have created your dev version  of your site?

If you can create a completely separate install of DNN - I would do that. - From the fresh installation you can copy across the settings from your dev version. - This way if any mistakes occur then you still have your dev version as a backup.

To copy across your settings you can export all of the data from all of your modules by creating a portal template. - I've outlined this process in this post: http://www.dnncreative.com/Forum/tabid/88/forumid/12/postid/47/view/topic/Default.aspx

Video 2 of this tutorial also demonstrates how to create a portal template

I don't know how this will affect the repository module. I've checked the module and it does have the export data function, so hopefully it should work correctly.

ΐ]

Ok, I gave this a bit more thought and decided to run an experiment with a localhost installation - I would encourage you to do the same to follow the process through so that you fully understand it.

Installed DNN to a localhost installation using the domain name: http://localhost/test

and this installation was stored in the 'test' folder

Added the repository module to a page, set it so that each user stores files in their own folder. - Added a doc.



I then added a portal alias of localhost/test2 (as outlined in the previous post)

and created a new folder called 'test 2'

I moved all of the files from the 'test' folder into the 'test 2' folder
and then created a new virtual website with a domain of http://localhost/test2 which points to the 'test 2' folder

Upon navigating to http://localhost/test2

DNN loads up with the new domain name and new location of files, everything appears to be working correctly.

But, of course the repository module links do not work.
To fix this, go to the Settings menu of the Repository Module

Scroll down to 'Folder for approved files'
D:\Web Design\DotNetNukeWebsiteTest\test\Portals\0\Repository

On these 3 folder URLs, change the URLs to point to the new folder location on your server, eg.
D:\Web Design\DotNetNukeWebsiteTest\test2\Portals\0\Repository

Click Update.

Everything should now be working correctly.

It's lucky that the repository constructs its URLs on the fly and takes the first portion of the URL from these settings, so you can specify any location you require.


I would test this for yourself first & make sure you create a backup of all of your files before attempting. - I have not tried this on a live website, but the localhost test  seems to work  ok.

Let me know how you get on,

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > One for the Video Master - Moving a site from within a hosting company



ActiveForums 3.7

Latest Forum Posts

Need UK Hosting by Liz
Hi,Not sure if this is the right place, but I am currently with Power DNN, and whilst I am a big fan...
RE: search not working by sanju_k1421
host==>admin search page that is set both limits min //max page reindex content button is ...
RE: No Access for me too by leesykes
hello,I have fixed the problem and I have given you a years access beginning from today December 2nd...
old skins for DNN 4.9.0 ? by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
DotNetNuke Modules
RSS Feeds