A migration consists of a transfer of the contents of your current server, database, FTP and emails. To another server of the same provider or another.
To avoid possible compatibility problems you must take into account different points:
If your website is developed in PHP or HTML you will need a LAMP platform (Linux, Apache, MySQL and PHP). If on the contrary it is in ASP/.NET you need a Windows environment.
The versions of the languages will have to match to avoid problems of functionality or errors in the web. In any case, you must ensure that they are compatible.
Before starting the migration, you must hire a Cloud or Hosting server that complies the necessary requirements for the operation of your website, with sufficient resources and the necessary disk space to perform the migration. You can get more information on our website about the services we offer www.swhosting.com.
Next, we will expose one by one all the necessary steps to complete the migration:
You will have to collect the access data of different functions from your current provider:
1. FTP account data:
You can easily obtain FTP Data from your SW Panel, as explained in the FTP account management manual. If you can not find the access data to your FTP account, you can always create a new FTP account.
You are also interested in knowing the public folder of the service, it is usually www/htdocs/ or web/, if you can not find it you can view it through our fantastic SW Panel.
2. Data of the database (DB):
In order to continue you need to have the server, the name of the database, user and password. Typically, access to phpMyAdmin is also provided to facilitate management.
3. POP or IMAP access data to your email:
You can find this information in the e-mail section, as explained in the e-mail manual or request it from your current provider or through our Free Support.
The name of the mail server usually has a nomenclature similar to "pop3.tudominio.com" or "imap.tudominio.com" depending on the protocol you are using. The username is usually the same email account, such as "firstname.lastname@example.org". On the other hand, if you do not remember the password, you can always generate a new one.
In this step, you have to connect to your server using an FTP client such as Fillezilla, indicating the name of the server, username and password, as explained in the FTP account management manual. Once you have access, download all files and directories to your computer, usually accompanied by a folder of logs.
Access the database server. Use the phpMyAdmin address and indicate the name of the server, username and password. Select the database you want to export and download in a SQL file (.sql) and then upload it to the new server.
Make sure that all your emails are downloaded using the POP3 protocol with an email manager such as Outlook, Thunderbird or Mail. In this way you will have a copy of all your emails received to date.
In this step, you must register the new services in your SW Panel. This includes creating the FTP account, the new database and the creation of all email accounts.
You can search our manuals or contact our support team for any questions about FTP account configuration, creation of emails or databases and their associated users.
Connect with the new FTP account and upload the files and directories of your website that you previously downloaded.
Access the phpMyAdmin and import the .sql file from the database. It is possible that you have to modify the configuration file on your website with the new connection data.
To verify its correct functioning, you can modify the host file of your computer so that it points to the new IP of the server. In Windows, you can find it in a line following the format. With the IP of the new server and the domain. This way you can make sure that everything works correctly.
If the operation of the web is the expected one, it will only be necessary to make the modification of the DNS of your domain by the DNS that we provide you with SWHosting.
The spread of DNS can take between 24/48 hours. During the process, the email will work with the previous data until the propagation of the DNS is effective. At this time, the emails will be received in the new created account and you will have to modify your email manager with the new data.
Remember that we have professional services for the migration of services. If you want our engineering team to conduct the study and carry out the migration, please contact us.