Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Moving to a new server - How much hassel?
Old 03-10-2005, 09:33 PM Moving to a new server - How much hassel?
Ultra Talker

Posts: 358
Location: Devon, UK
Trades: 4
I'm currently on shared hosting and am looking into dedicated (see other thread) for the future. Just wondering how much hassel it is to move hosts. I know I will need to transfer my databases, change script paths, transfer domains/subdomains, and so on.

As far as I can see due to the way I have set everything up at the moment it should be fairly easy. Is there anything thats likely to be easier said then done? or is it normally fairly straightfoward? What sort of downtime would I be looking at while pointing the domain to the new server?

TIA
Simon
recedo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-10-2005, 09:49 PM
ORiN's Avatar
Ultra Talker

Posts: 381
Name: Francis
Location: Singapore
Trades: 0
If you hang on to the shared hosting while you get the dedicated server, you can make a seamless transfer without your website having any downtime. Some hosts offer to help you transfer your website for you as well.
ORiN is offline
Reply With Quote
View Public Profile Visit ORiN's homepage!
 
Old 03-10-2005, 09:50 PM
Duport's Avatar
Ultra Talker

Posts: 323
Trades: 0
Well if you have cPanel, you can login to the new server and just transfer the account..

No downtime, you can change the A Record to point right away to the new server - then change the nameservers
__________________

Please login or register to view this content. Registration is FREE
- Shared / Reseller / Cloud / VPS / Dedicated
Multiple Domain Hosting .... 24/7 Technical Support -
Please login or register to view this content. Registration is FREE
Duport is offline
Reply With Quote
View Public Profile Visit Duport's homepage!
 
Old 03-11-2005, 06:22 AM
Novice Talker

Posts: 5
Location: London
Trades: 0
Quote:
Originally Posted by ORiN
If you hang on to the shared hosting while you get the dedicated server, you can make a seamless transfer without your website having any downtime. Some hosts offer to help you transfer your website for you as well.
agreed - you can upload content to the new dedicated box and then repoint DNS so that transfer is seamless. Might prove problematic if you have a database but you can always lower the TTL on the domain the night before migration to repropogate much quicker AIUI. I'm not an expert on these things mind!
__________________
Ricky Blaikie
Server City Ltd

Please login or register to view this content. Registration is FREE

T:0871-2601000
ServerCityUK is offline
Reply With Quote
View Public Profile Visit ServerCityUK's homepage!
 
Old 03-11-2005, 06:44 AM
Ultra Talker

Posts: 358
Location: Devon, UK
Trades: 4
Thanks for all your help. I don't currently have CPanel but should have it on the new server though. A seamless transfer or as little downtime as possible is what I am after. The database is located on a different server so I will be able to leave everything pointing to that for the time being if need be.

Simon
recedo is offline
Reply With Quote
View Public Profile
 
Old 03-11-2005, 07:51 AM
Super Talker

Posts: 110
Trades: 1
Expect the unexpected. Expect that things will go wrong and you will have downtime.

First, you need to get your website over to the new site.

Do you have root access? Can you get to the command prompt? If yes then all you have to do is to tarzip the whole site into one file and leave it in your public_html directory.

On your new server you need to change to the public_html directory and then 'wget' the file. This transfers the tarzip from old host to new host over the internet so to speak. This means that you don't have to spend ages on your PC uploading....

Next you want to ensure that all the paths to your scripts, databases etc. are updated.

On your old server you may have had a directory structure such as /home/www/recedo but your new hoster may use something like /home/recedo/public_html

Any php scripts you have will need to be updated to reflect the change in the home directory.

As for DNS changes you could expect downtime of a day or two. This is usually out of your control when the change is made. Some of your site visitors will be able to find the new server OK pretty soon, some may take a while - depends on the ISP.

Something to look out for is the old hosters dragging their feet and not being bothered with you moving. You're an ex-customer of theirs and as a shared hoster you probably weren't paying them much anyway! There are some horror stories out there of ex-hosters delaying things and wanting faxes signed in triplicate etc. You may be fine but always expect that things will not go smoothly.
Frank Rizzo is offline
Reply With Quote
View Public Profile Visit Frank Rizzo's homepage!
 
Old 03-11-2005, 08:03 AM
Ultra Talker

Posts: 358
Location: Devon, UK
Trades: 4
Wow, thanks for that post very interesting. I will take it all into account. I was expecting something like 24-48 hours downtime anyway. I would have liked to move to a new server before the site launched but due to financial implications this will not be happening!

I like the idea of tarzipping the site, unfortunatly I don't have root access and cannot get to the command promt on the current hosting (as far as I know although I will look into it). That would make things easier.

All of my PHP scripts etc are easy enough to change through config files and so on.

I was also expecting the old host to 'drag their feet' a little. I have already spoken to them and they don't seem to mind too much about me moving (they tried to get me to use their dedicated servers but the support is just not there, they couldn't even answer some sales related questions a while back) but you never know.

Oh and one other thing, would I be able to view the site on the new server via the IP number so I can test it before moving the domain name across?

Thanks again
Simon
recedo is offline
Reply With Quote
View Public Profile
 
Old 03-11-2005, 08:16 AM
Super Talker

Posts: 110
Trades: 1
You can still use wget to grab the complete website accross the wire sort of thing. You don't need to tarzip first but it is quicker.

I forget the switches but on your new server you should be able to

wget http://www.myoldsite.co.uk/ -someswitch

and this will grab everything in your public_html and below.

If you had directories outside of public_html (such as password protection scripts, mailing list scripts, log files etc.) then these will not be transfered over.

You could also use rysnc to grab those extra dir's but that's getting a bit tricky now.

You will be able to use your new server via the IP address but try and hold off from giving your customers this information, and don't post it on your hoempage or message board.

I did this once. I notified on the homepage that 'if the site is unavaible try XXX.XXX.XXX.XXX'. Whilst that did work for basic page reading it did not go to well for the php and perl scripts I was using - I had to hard code the mysite.co.uk to XXX.XXX.XXX.XXX and then change it back when the DNS stuff was complete.

Not only that but search engines picked up the IP address. I have a big problem now with search engines indexing some pages on the site twice. Not worried about duplication penalties but I am concerned that when I move hosts in a few weeks I'll have a new IP address and thus any visitors clicking the search engine results pages with IP address in it will not find the new server.
Frank Rizzo is offline
Reply With Quote
View Public Profile Visit Frank Rizzo's homepage!
 
Old 03-11-2005, 09:56 AM
Ultra Talker

Posts: 358
Location: Devon, UK
Trades: 4
Thanks again for some useful info. Since then I have found out that I can request SSH access on my current server.

As for using the IP, it would be for internal testing only and not to be given to the public. But, looking at what you said, there will be a lot of places where scripts use a url variable that would need to be changed, perhaps not such a good idea!

As my database is hosted on a different server I will be able to link to it as soon as the domain is pointing to the correct place and transfer the data to the new server when needed. This will mean no data loss which would be good.

It's not going to be for a few weeks now but I'd like to get my head round what I'll be doing so it'll be as smooth as possible!

Simon
recedo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Moving to a new server - How much hassel?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39979 seconds with 12 queries