1. 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?

Discussion in 'Server Configuration and Hosting' started by Markos, Apr 29, 2015.

  1. Markos

    Markos Well-Known Member

    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!
  2. Da Bookie Mon

    Da Bookie Mon Well-Known Member

    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.
    Marcus likes this.
  3. AzzidReign

    AzzidReign Well-Known Member

    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.
  4. The Dark Wizard

    The Dark Wizard Well-Known Member

    If I may ask, who are you leaving?
  5. Liam W

    Liam W Well-Known Member

    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...

  6. Digital Doctor

    Digital Doctor Well-Known Member

    How long does that take ?
    Wouldnt that be down time ?
  7. Liam W

    Liam W Well-Known Member

    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...

    Marcus likes this.
  8. WSWD

    WSWD Well-Known Member

    No. The server doesn't have to be taken offline for that.
  9. Markos

    Markos Well-Known Member

    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?
  10. WSWD

    WSWD Well-Known Member

    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.
  11. RoldanLT

    RoldanLT Well-Known Member

    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 :).

    And why?
    Nginx performs way better than apache.
  12. Markos

    Markos Well-Known Member

    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.)
  13. Tracy Perry

    Tracy Perry Well-Known Member

    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.
  14. RoldanLT

    RoldanLT Well-Known Member

    Edit your host file to temporarily point the new server IP to your domain.
  15. AzzidReign

    AzzidReign Well-Known Member

    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.
    Digital Doctor likes this.
  16. RoldanLT

    RoldanLT Well-Known Member

    Markos likes this.
  17. Markos

    Markos Well-Known Member

    Another question: can i export a MariaDB DB into a standard MYSQL DB?
  18. MattW

    MattW Well-Known Member

    Yes, it should be fine.
    Markos likes this.
  19. Da Bookie Mon

    Da Bookie Mon Well-Known Member

    Should be no issues at all. MariaDB and Percona are both just MySQL drop ins.
    Markos likes this.
  20. Markos

    Markos Well-Known Member

    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?

Share This Page