Transferring website from localhost to server
When creating a new site, many developers first set Joomla! on the local machine, set up all the necessary add-ons (components, modules, mambots, etc.), and then later transferred to a remote server.
This is a simple procedure, but many novice users are often asked how to move the site prepared by Joomla! from the local machine to a remote server.
So, to transfer the site from local machine to a remote server, perform the following steps:
1. On the local machine, do the export database tables from the local server using, for example, phpMyAdmin into a file type . Sql
2. On a remote server to import the tables from the resulting file
3. Upload all files (except the directory installation), the local computer to the server. Cache files from a folder, too, do not rewrite, just create a folder on the server.
4. Correct the configuration file configuration.php and Downloading it on the server
Change the settings in the configuration.php file according to settings on the server:
$ MosConfig_host = ‘Address database mysql’; usually localhost
$ MosConfig_user = ‘Name to access mysql’;
$ MosConfig_password = ‘Password access to mysql’;
$ MosConfig_db = ‘Database name’;
$ MosConfig_absolute_path = ‘Absolute path to the files of’;
$ MosConfig_cachepath = ‘Absolute path to the folder to store the cache’;
$ MosConfig_live_site = ‘Http://www.adres_sayta.ru’;
Absolute path to the files is available from the host.
5. On the following directories expose permissions 777:
cache
images
images / banners
images / stories
media
components
language
modules
mambots
templates
administrator
administrator / backups
administrator / components
administrator / modules
6. All the site should be accessible to visitors.
Note: some visual editors being prescribed the full path to the pictures, so after doing the export database tables on the local server, you can open the export file to replace in the Path links to pictures on the local server on the path to the images on a remote server.
