PHPMyAdmin<\/a>, which is a database manager that can be accessed through any internet browser. If your hosting offers PHPMyAdmin, then all you need to do is access it, select the database you want to export, and choose “Export” from the top menu.<\/p>\n\n\n\nImportant tip<\/strong>: if you create a database with the same name, username, and password that you used in the old hosting, it is possible that you do not need to make any adjustments to the connection of your application. In terms of explaining it better: every application has a file with the connection information to the database, which is usually (localhost) hostname, username, and password. If, when changing hosting, any changes, you will need to edit the database connection file to reflect this new configuration. The adjustment is generally easy to do, but carelessness with that part and you can take your site offline until this is corrected. Therefore, it is worth a lot of attention on this issue.<\/p>\n\n\n\nHow to check if the connection to the new database is correct (or: browsing the site before DNS propagation)<\/strong><\/p>\n\n\n\nConsidering that your domain is still aimed at the old host, you will not be able to simply type the URL in your browser and access your website, this is because the DNS service will direct your request to the old hosting.<\/p>\n\n\n\n
To work around this issue, you can make a small configuration on your computer to force it to access the new server – not the old one – by entering your website address in the browser. This feature is very useful in this phase of testing the new server.<\/p>\n\n\n\n
To do this, you will need to edit the \u201chosts\u201d file on your computer (the file name is the same: hosts). Depending on the operating system (Windows, Mac, or Linux) this file will be located in a different place. You will find the hosts file in the following places, depending on your operating system:<\/p>\n\n\n\n
- Windows: C:\\Windows\\System32\\drivers\\etc\\hosts<\/li>
- Mac OS: \/private\/etc\/hosts<\/li>
- Linux: \/etc\/hosts<\/li><\/ul>\n\n\n\n
Locate this file on your computer and open it with a notepad or any other simple text editor. Important: Do not use Word or similar text editing programs.<\/p>\n\n\n\n
The rule is as follows<\/strong>: First, you write the hosting server’s IP address followed by a space or tab and the URL of the website you want to visit. Usually, the hosting company sends the server’s IP when the plan is activated. If you cannot find this information, the company’s technical support can provide you with this.<\/p>\n\n\n\nNote<\/strong>: on Windows operating systems, you will need to open the file as an administrator, to have the necessary permission to edit it. To do this, simply locate the notepad in the list of programs (or any other plain text editor), right-click and choose “Run as administrator”. Once the program has been opened, simply select from the \u201copen\u201d or \u201copen\u201d menu and locate the host file.<\/p>\n\n\n\nImportant<\/strong>: after making sure that everything is working correctly on the new server, delete the changes you made to your hosts\u2019 file so that your computer will re-request the server on which your website is hosted.<\/p>\n\n\n\n- 3 – Email Migration<\/strong><\/li><\/ul>\n\n\n\n
Dealing with the issue of emails can be one of the most annoying parts when it comes to migrating. Email migration isn’t necessarily the most complicated part of the journey. Let’s look at some of the possibilities for migrating e-mails below.<\/p>\n\n\n\n
Before proceeding, it is important that you verify that your emails are being stored on your hosting server or on a third-party service, such as G Suite<\/strong> or Microsoft Office 365<\/strong>.<\/p>\n\n\n\n