• Hi, I have set up a development site on XAMPP locally and used FTP to transfer files to my hosting company. Site up and running ok. What is the best approach to use for synchronising the sites now they are the same. ie if I produce a new page, add data or perhaps a plugin on the test site and check its operation etc what is the best way to copy it to the host.

    I am sure this is done by many of you on a regular basis, I know I could develop on the live system but just had one hosting company go to the wall and they just ditched my site without notice.

    Any plan of attach appreciated.

Viewing 1 replies (of 1 total)
  • averybaddog

    (@averybaddog)

    first thing first, do a back up of your SQL or MySQL database on both your host server and localhost. I’ld use a cdrw so you can use one cd and change and replace files on the same disk (so you dont have 52 cds every year, but you could also back up the database in weekly folders, for example)

    Next, make sure the installations are the same on your localhost and webhost.
    Then just export one database to a file.sql (for example) and import the file.sql to the other server. I would use localhost to export, webhost as import, after backing up both databases. your local host sql is probably faster than your web host, if you are on a shared platform.

    the only other way I can think of is if both localhost and webhost run from the same MySQL (or other) database. I dont know how to do this, maybe someone else here does, or if it is possible even. I think in theory it should be.

Viewing 1 replies (of 1 total)
  • The topic ‘Xampp to Host Synchronising’ is closed to new replies.