• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

There are a way to change host without downtime?

Markos

Well-known member
#1
I have the need to change host fast...because i doesn't want to renew my hosting fee that expire on the next week.

There is a way to transfer all and change dns without downtime for the users? Thank you for your reply!
 

Mike Edge

Well-known member
#2
A day or two before your going to move, go into DNS and set all your TTL (Time-T0-Live) to 900 and that will cause your DNS to flush every 15 minutes.
 

AzzidReign

Well-known member
#3
There is a way. My sysadmins do it every time I've moved over the years. I believe they copy the database to the new server and on the old server set the new server as the database for it so even if their dns hasn't updated they are still connected with an updated database.

Again. ..i think that's what they do. You can always contact admingeekz to help you.
 

Liam W

Well-known member
#5
I would use the method described by @AzzidReign.

Copy all your files/databases to the new server, and on the old server set the database details to that of the new server (you may need to allow remote mysql access). Now the old server is using the database of the new server, so the content will be the same.

You just have to make sure not to install/update any add-ons until the DNS propagation is complete...

Liam
 

Liam W

Well-known member
#7
How long does that take ?
Wouldnt that be down time ?
Depends on how big they are really. I would just do a large recursive scp of the files...

You would probably want to stop data creation for accuracy until you've setup the new database server, but a read only mode shouldn't be classed as downtime...

Liam
 

Markos

Well-known member
#9
Ah, i forgot to say that in the old server i have Centmin, in the new server is simple Apache+Plesk.
That's make some difference?
 

WSWD

Well-known member
#10
Ah, i forgot to say that in the old server i have Centmin, in the new server is simple Apache+Plesk.
That's make some difference?
Shouldn't. It's going to make a difference in how you transfer the files and how you set up your new site, perhaps, but DNS is DNS. As was mentioned above, change the TTL, set up your site on the new server, once you have made sure everything is working on the new server, change the DNS settings to point to the new server. There should be no downtime involved at all.
 

RoldanLT

Well-known member
#11
If you use Cloudflare to manage DNS, they are really quick.
Plus using the methods suggested by others pointing the database to the new server, and also use rsync to have a complete copy of every files :).

Ah, i forgot to say that in the old server i have Centmin, in the new server is simple Apache+Plesk.
And why?
Nginx performs way better than apache.
 

Markos

Well-known member
#12
Simply because i lost my tech staff!

Another thing: there are a way to test if everything goes well on the new server prior to change the dns? (example: if the scripts is correctly installed, images are okay etc.)
 

Tracy Perry

Well-known member
#13
Address it by IP (unless you have multiple sites on that IP) ...or assign it an temporary sub-domain to that IP (like test.domain.com or moved.domain.com) and try it.
 

RoldanLT

Well-known member
#14
Another thing: there are a way to test if everything goes well on the new server prior to change the dns? (example: if the scripts is correctly installed, images are okay etc.)
Edit your host file to temporarily point the new server IP to your domain.
 

AzzidReign

Well-known member
#15
How long does that take ?
Wouldnt that be down time ?
From my understanding, AdminGeekz creates a copy, moves it over to the new server, all while the site is still up and active. Then runs something to update the new server database to that of the old, then points to the new database from the old server...

I could also be making all of this up :p When it comes to server stuff, I hire out. If downtime means that much to anyone, they should hire a specialist to move servers without any downtime, which I know AdminGeekz can do.
 

Markos

Well-known member
#20
I have some problems on uploading the DB on new server...i'm trying to upload with PHPmyAdmin but when i'm try to upload this (it's over 1GB). There is another way to import a DB without PHPMYAdmin?