{"id":77,"date":"2019-04-28T00:49:00","date_gmt":"2019-04-28T00:49:00","guid":{"rendered":"https:\/\/hostup.org\/blog\/?p=77"},"modified":"2021-01-24T20:49:55","modified_gmt":"2021-01-24T20:49:55","slug":"how-to-move-a-joomla-to-a-new-server-system","status":"publish","type":"post","link":"https:\/\/hostup.se\/en\/blog\/how-to-move-a-joomla-to-a-new-server-system\/","title":{"rendered":"How to Move a Joomla site to a New Server \/ System."},"content":{"rendered":"\n<p>Want to move all of your configuration files to a new server or operating system? Well you can! This guide will show you how you can do this with Joomlas simple configuration file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Create a Database Backup<\/h2>\n\n\n\n<p>Creating a database backup is relitiely simple. Here are a few options for dumping your database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PhpMyAdmin <\/h3>\n\n\n\n<p>If you are using Cpanel, XAMPP, Wampserver or anything that has phpMyAdmin this process is reatively simple and userinterface friendly. First navigate to phpMyAdmin. Secondly, click the database that you wich to export on the right side. Once you are there click on the <strong>export<\/strong> button and select <strong>go<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/hostup.org\/blog\/wp-content\/uploads\/2021\/01\/image-30-1024x344-1.png\" alt=\"\" class=\"wp-image-78\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-30-1024x344-1.png 1024w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-30-1024x344-1-300x101.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-30-1024x344-1-768x258.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will now download a backup of your database in the fileformat <strong>SQL<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Backup your Files<\/h2>\n\n\n\n<p>If you are hosting your files localy then this step is not for you. Backing up your files via FTP is also very simple. Use an FTP client such as <a href=\"https:\/\/filezilla-project.org\/download.php?type=client\" target=\"_blank\" rel=\"noopener\">FileZilla<\/a> and connect to your server. Once there locate your files and copy them over to your desktop.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Import your backed up files<\/h2>\n\n\n\n<p>Now when you have all of your backed up files you can start importing them on your new server.<\/p>\n\n\n\n<p>Let us start with the database. Navigate to <strong>Import<\/strong> and upload your <strong>.sql<\/strong> file in the browse section. Then click <strong>go<\/strong> to import your database.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"877\" src=\"https:\/\/hostup.org\/blog\/wp-content\/uploads\/2021\/01\/image-31.png\" alt=\"\" class=\"wp-image-79\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-31.png 904w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-31-300x291.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2021\/01\/image-31-768x745.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p>Use an FTP client such as <a href=\"https:\/\/filezilla-project.org\/download.php?type=client\" target=\"_blank\" rel=\"noopener\">FileZilla<\/a> and connect to your server.  Once there upload all of the files that you downloaded from the old server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 : Edit your configuration.php file<\/h2>\n\n\n\n<p>Open up the configuration.php file and alter the <strong>log_path<\/strong> and <strong>tmp_path<\/strong> to your new file location.<\/p>\n\n\n\n<p>You also need to change these to match your new settings:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public $host = '';\npublic $user = '';\npublic $password = '';\npublic $db = '';<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>$host = hostname\/ip\/domain<\/li><li>$user = database username<\/li><li>$password = database password<\/li><li>$db = database name<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Want to move all of your configuration files to a new server or operating system? Well you can! This guide will show you how you can do this with Joomlas simple configuration file. Step 1: Create a Database Backup Creating a database backup is relitiely simple. Here are a few options for dumping your database. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":57,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":1,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions\/80"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/media\/57"}],"wp:attachment":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}