How do I move my CMS based website to another domain on a Hetzner server? Print
Submit Cancel
Email this article

Close

You are here: Home > Website Support > Backups

In order to move your CMS based website from one hosting account/server to another, you will need to go through the process of copying the web content files, database and updating the necessary configuration of the Content Management System .

Hetzner offers all the necessary tools required to move a CMS based website from one domain to another. Below are the steps you will need to follow in order to make a copy of your website that can be uploaded onto the new account/server:

Step 1: Exporting your CMS’s database:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number and Management password
  3. Select or search for a domain name in the Hosting Services tab
  4. Click Manage Services on the left-hand menu
  5. Select Manage MySQL under Databases
  6. Select the phpMyAdmin option at the top-right, this will open a separate pane
  7. Click on the database name to select it
  8. Click on Export
  9. Click ‘Go’ at the bottom to save the file

Step 2: Download the web content files of the CMS to your computer:

Note:

  • It is recommended to compress your web content files to a single ‘zip’ or ‘tar’ file and only download a single file via FTP.

Using Windows Explorer to download your files:

  1. Right click on the Windows Start button
  2. Select Explore
  3. Enter the FTP address in the address bar, i.e ftp://mydomain.co.za/public_html/
  4. Enter your FTP username and password when prompted and click on Log on
  5. Once logged in, the current site content on the server will be displayed.  You can then copy and paste all files in the ‘public_html’ directory to your computer.

Alternatively you can use a FTP application to download your web content:  http://hetzner.co.za/ftp

Step 3: Creating the new MySQL Database on the new account/server:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number and Management password
  3. Select or search for the new accounts domain name in the Hosting Service tab
  4. Click Manage Services on the left-hand menu
  5. Select Manage MySQL under Databases
  6. To add a database, click [ADD] (top middle)
  7. The database access information is displayed. It is recommended that you keep the default information but you can change the access details to your liking.

Step 4: Importing the CMS’s database into the new account/server:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number and Management password
  3. Select or search for the new domain name in the Hosting Service tab
  4. Click Manage Services on the left-hand menu
  5. Select Manage MySQL under Databases
  6. Select the phpMyAdmin option at the top-right, this will open a separate window
  7. Click on the database name to select it
  8. Select the SQL query window from the top left hand corner within phpMyAdmin, this will open a separate window
  9. Select Import Files
  10. Click on Browse to find the dump file located on your local computer
  11. Click Open to select the dump file
  12. Then click on Go to begin the upload of the dump file to the server

Step 5: Uploading the CMS web content files from your local computer to the new domain/server:

Using Windows Explorer:

  1. Right click on the Windows Start button
  2. Select Explore
  3. Enter the FTP address in the address bar:  ftp://mynewdomain.co.za/public_html/
  4. Enter your FTP username and password when prompted and click on Log on
  5. Once logged in you can copy and paste the previously downloaded files from your computer into the public_html folder.

As you have created a new database for your CMS and imported the database content, you will need to update your CMS configuration file on the new domain/server to match the database server and login details of the newly created database, setup in Step 3.

Note:

  • Some Content Management systems require additional changes made in the database, such as the “Site Name” or “upload_path” in order to work correctly.
  • Installation guides, FAQs and Forums are usually made available by the software providers of the CMS and are the best resources to use in order to change this.

Was this information helpful?

Yes No

Thank you for your feedback
We are delighted to find that our article resolved your query.

Thank you for your feedback
We will resolve your query as soon as possible.

Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.


  Partially resolved    Unresolved
Enter your query here:
Your name:
Your email address:
Contact number:
Customer number or domain name:
 
Preferred contact method: Email     Call me
Please enter the text in the picture below into the text box:
CAPTCHA Image:
ID Number:
 
  • Hosting for Beginners

    Step-by-step guide to hosting with Hetzner.

    VIEW NOW
  • Application Tutorials

    Use our installation guides to get up and running.

    VIEW NOW
  • Login Now

    Our award winning proprietary control panel empowers customers to manage their hosting environment.

    Take the Tour
  • Contact Us

    support@hetzner.co.za

    Phone: 0861-0861-08
    Fax: 0861 0861-09
    Contact Us