Select the database from the left sidebar of phpMyAdmin.Login to phpMyAdmin if a password is set for root.Open phpMyAdmin in a browser on computer 1 by accessing.That is all that is required as far as moving the website files from one computer to another for using with XAMPP is concerned.Ģ) Export database of the website from computer 1 So, we should have the website files in C:\xampp\htdocs\techblog. For this example, the website folder copied is "techblog". Move the website folder from the computer 1 to C:\xampp\htdocs\ on the computer 2 using any medium. Thus, I copied the folder C:\xampp\htdocs\techblog For this example, the website folder to be copied is "techblog". The basic process in a nutshell is to move the website folder to the new computer under the same folder, that is under C:\xampp\htdocs and move the database to the new computerġ) Move website files from computer 1 to computer 2:Ĭopy the website folder you want to move from C:\xampp\htdocs\. It can be used for any other CMS or sites. This method is not only for WordPress shown in this example. Steps to move websites from XAMPP on one computer to XAMPP on another computer. Thus, website files are located under C:\xampp\htdocs directory.įor the steps explained below, it is assumed that XAMPP is installed on both the computers already. On my system, XAMPP is installed at C drive at C:/xampp. In this post, I will be using one of the WordPress CMS site for the purpose of illustration in this post. I use WordPress and Drupal mostly, but there are some custom PHP sites too. So, I have been using XAMPP for web development on my local computer.
How to move websites from XAMPP on one computer to XAMPP on another computer? There is minimal configuration required to kick start web development on local machine instead of installing all the above requirements manually.
XAMPP is easy to install and packages all the above requirements of web development out of the box. X = Cross Platform / Any Operating System
XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database (supports MySQL), and interpreters for scripts written in the PHP and Perl programming languages. If you are in a similar situation, refer to the steps below how to move the websites from XAMPP on one computer to XAMPP on another computer. So, I needed to move the existing website files from the older computer to the new computer, along with the database of the website. And I needed to move the website files from one computer to another as I have a new Windows laptop on which I would be doing my web development activities from now on. I normally use XAMPP for web development on my local Windows machine.