Knowledgeable web programmers, before transferring a site to the Internet for hosting, first create it on the local disk of their computer. This method saves time spent on website creation.
Instructions
Step 1
After you have collected your blog on the local disk of your computer using Denver, tested its performance, made sure that everything works fine, transfer it to hosting.
Step 2
Contact your hoster, find out the server configuration, ideally it should be like this: apache + mod_rewrite, php 5.1.0 with extensions GD, iconv, mbstrings, mysql 5. If something from the list is missing, ask the hoster to install it if it is refuses, then change hosting.
Step 3
Go to phpmyAdmin of your hosting, create a new database by entering your login, password, database name (sometimes the database has already been created on the hosting, in this case you will be provided with the necessary data in the control panel).
Step 4
Create a database file that you have on "Denver": open phpmyAdmin, go to the "Export" tab, export the database to your computer (for example, mysql.sql).
Step 5
Upload all the files of your blog (from the / www folder) to the root folder of your hosting: go to the root folder via FTP and upload the files one by one. Alternatively, go to File-manager through the control panel and download all blog files with an archive, which will be automatically unpacked afterwards.
Step 6
Set the required folders CHMOD permissions recommended by the blog engine manufacturer.
Step 7
Log into phpmyAdmin through your hosting control panel, select the "Import" tab. Select the previously imported database file on your computer, download it. Set the desired encoding (usually UTF-8, or cp1251 - Windows encoding).
Step 8
In the config.inc.php file, change the settings for connecting to the database, it usually looks like this: $ _CFG ['db_host'] = 'localhost', $ _CFG ['db_base'] = 'database_name', $ _CFG ['db_user'] = 'username', $ _CFG ['db_pass'] = 'database_password'. In the appropriate fields, enter the data that the hosting provided you, or those that you indicated yourself.
Step 9
Go to your blog address, everything should work.