How to transfer the website from the local server

How to transfer the website from the local server

After end of the main stages of creation of the first website, the choice of the first domain and the first hosting provider, there is only a final stage of all this process - transfer of the website from the local server in the Internet.

Instruction

1. The algorithm of transfer of any CMS working with MySQL base is almost identical if you rabotatt with WordPress, Joomla or phpBB.Perenesti the website from the local server on a hosting very simply. The most important are a preparatory work. If everything is made correctly, transfer will be carried out easily and quickly. Each hosting company which provides the space for the website on the server has the interface with which it will be necessary to learn to work. Will provide you access to personal account in which you will be able to manage the website. At different hosters these personal accounts can differ very strongly from each other: from appearance and the name of sections to commands and functionality.

2. It will be required to you: Access of FTP – usually this access is provided by a hoster, or you in a personal account can independently create this connection. It is necessary to load all files of your website which are on your computer, on the hoster server. The MySQL base – usually creates it a hoster and sends the login and the password to it, or it is necessary to create independently new base in a personal account. If you need independently to create connection or base, in the necessary section there will be for this purpose special commands and surely accompanying instructions.

3. The main thing before transfer of the website - data for connection to the hoster server should be known to you. FTP connection has to be known a server name to which you will be connected through FTP. For example: ftp.ваш_домен.ru, ftp.домен_хостера.ru, XX. XXX. XX. XXX – some digits, the login, the password. For connection to MySQL base — the name of base, the login, the password (the name of base can match the login). When you have data for FTP connection and the FTP client is installed, open the program and create new connection.

4. One of the most difficult stages is transfer of MySQL Base (information warehouse). The storage has an appearance of the table which each cell is responsible for storage of a certain type of information. On the local computer your base is located at http://localhost/tools/phpmyadmin/ - it is the universal address. The interface in which you will work with the database is called phpMyAdmin.

5. You should know to what folder it is necessary to transfer the website. Usually information on it can be found on the hoster website in reference documentation. As a rule, the folder in which there has to be a website can have such названия:publichtmlpublic_htmlwwwpublic_www

6. The website needs to be transferred to the folder. Doubleclick of a mouse according to the folder will open it (in Total Commander). The folder will be empty, or in it there can be the unique file - index.html (depends on a hoster). If such file is available, safely delete it. Select all files and press the Copying button. Transfer of folders will begin.

7. Editing the configuration file – one of the most important stages in the course of transfer of the website on a hosting. Each CMS has the configuration file which contains important information: — Name of the MySQL Database; — Login for connection to MySQL Base; — Password to MySQL Base.

8. The configuration file WordPress is called wp-config.php, the same file in Joomla is called configuration.php, and in phpBB – config.php is simple. The configuration file is in a website root. You can edit it before any of the actions described above.

9. On it transfer of the website is complete. Now it is available on the Internet, you can gather its address in an address bar of the browser. Transfer of the website takes no more than 10 minutes except for time when folders are copied on a hosting.

Author: «MirrorInfo» Dream Team


Print