PDA

View Full Version : Successful Move To Another Server


builtsmarter
01-16-2005, 06:19 AM
Hi,

Just wanted to let everyone know the process I went through to move a site from one server to another.

First you want to create the domain on the new server as well as the ftp and the database.

change your hosts file in windows/system32/drivers/etc/hosts

Add the domain that you are updating this way you can work on it and make sure it's working before you change the DNS.

You would add the following line for domain1.org

# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
0.00.000.00 domain1.org
127.0.0.1 localhost

Then untar the file and run the setup.

Then go to the domain that you want to move and make a copy of the database and the following folders/files

media
images
sohoadmin/temp_cont
tCustom
template

Also if you have uploaded a custom template to /sohoadmin/program/module/site_templates/pages/

then make sure you copy that.

Upload these files to the new server and once it's working and you've tested it then switch the DNS. Make sure you take out the entry in your hosts file once you are done.

Hope this helps...

--Craig

R-n-R
03-03-2005, 04:17 PM
Craig

Was this move from a Windows box to a windows box? Or a Linux box to a Windows Box?

builtsmarter
03-04-2005, 03:46 AM
Actually it was from a linux box to a linux box... ;)

info@newcastleinfo.com.au
04-04-2005, 10:02 PM
Having some trouble getting this to work. I followed all the steps and the whole admin section works etc, but the pages all just come up blank on the new server.
eg
<SCRIPT language=Javascript>
window.focus();
</SCRIPT>

that is all the shows in the source when browsing www.agturf.com.au

old box, redhat9, new box, fedora c1.

no errors or licence issues, just blank homepage?

any suggestions

info@newcastleinfo.com.au
04-08-2005, 10:47 PM
i can hardly believe how apparently ridiculously difficult this process is.

Even when copying between practically identically configured cpanel boxes it doesnt work

Ruben
04-17-2005, 08:26 PM
info@newcastleinfo.com.au,

Im having the same problem. its just showing:
<SCRIPT language=Javascript>
window.focus();
</SCRIPT>

Did you find a workaround for this?