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:3429

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:3429

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

PowerDNN by vanillatree
Normal 0 unctuationKerning/> false false false oNotPromoteQF/> ...
RE: Hide top/bottom skin pages of DNN Module by jncraig
Why don't you want to change the skin? This seems like a perfect place to use a blank skin with a s...
RE: Child portal to live site by jncraig
Sometimes, questions like this get a little murky in my mind.  I hope that my answer isn't any more ...
RE: Issue 37 Templates by jncraig
Sorry, but this question is somewhat out of my range of knowledge.  For FCK issues, there is an FCK ...
RE: Quickly Add Large Quantities of Data by leesykes
great!
RE: Vendor Advertisment Question by leesykes
Yes it may help, keep us posted with what happens, thanks,
RE: ascx question by leesykes
Hello,If you are going to install DNN locally I would really recommend that you do it using Virtual ...
RE: Child portal to live site by psgrzelak
Hello Again Joe, I subscribed to the site today and I am amazed at the amount of information availab...
Hide top/bottom skin pages of DNN Module by anshu777
I want to hide top/bottom skin pages of DNN Module in code behind, so as to make a div stretched to ...
Events Module - border-right-width-ltr-source by soulia
Great site! Maybe I'm doing this the wrong way. I'm trying to skin the Events module to match my "pu...
RE: Issue 37 Templates by jernejp
Is it posible to replace: FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;w...
RE: AdvanceEmail Newsletter is not working by jncraig
Are these third-party modules? Or are you using the Newsletter module that is part of DotNetNuke?
RE: Error after upgrade to Dnn 5.0 by jncraig
Given that DotNetNuke 5.0 is brand new, I'd suggest that you report this over on the DotNetNuke foru...
RE: Error in loading module ( occassionally ) by jncraig
Look in the Event Log.  There may be some additional details that can help you.
RE: Splash page by jncraig
Create the splash page.Go to Site Settings.  Under Advanced Settings you can specify that page as th...
RE: unsubscribe link for DNN website by jncraig
I'm guessing at the details, but there appear to be several modules on this page.1.  The Subscriptio...
RE: unsubscribe link for DNN website by maxdagenais
I like the way Lee has setup DNNcreative with the page called [my account] I am wanting to do somet...
RE: Child portal to live site by psgrzelak
Hi Joe, it seems so. I will have to document all of my last (frustrated) settings so I can re-create...
RE: Splash page by s1patel
someone help me setup splash page.
RE: Splash page by s1patel
i need that to happen to and not sure how you set the splash page.
DotNetNuke Modules
RSS Feeds