Hello folks- i need your help, i was desinger a wordpress website using the localhost server (XAMPP) and i have managed to create this website. Now the issue is that i was learning how to migrate this website from the localhost to a free hosting live server; Here are some of the steps i performed;
Step 1: i exported the local database by accessing the http://localhost/phpmyadmin and i clicked on the database which i was working on and clicked on "Export". From there i secelected the "Quick method" and then i Clicked on "Go" to export the database in the download folder on my machine.
Step 2 :i replaced the paths to all files in the database by opening the exported database with the Notepad++ text editor using the Replace feature i replaced the http://localhost/wordpress to http://zachados.5gbfree.com:2082
Step 3: After that i created the new database from the cPanel of the web hosting by assigned the database name as: zachados_wordpress
Username as: zachados_Zac
and the Password:..........
Then after i clicked on phpMyAdmin in the cpanel of my hosting and clicked on "import" after opening the phpMyAdmin to import the database file which i exported from the localhost.
Step4:I Fixed wp-config.php by opening the wp-config.php and wp-config.php file on your local machine. Edit lines:
define(‘DB_NAME’, ‘wordpress’); to zachados_wordpress
define(‘DB_USER’, ‘Zachariah’); to zachados_Zac
define(‘DB_PASSWORD’, ‘your_database_password’);
Step 5:Transferring website files
I try to transfer the website files using the Filezilla as my FTP client tool but the issue is that its was failing to start or start the connect and here are a copy of the errior message it was rendering:
Status: Resolving address of ftp.zachados.5gbfree.com
Status: Connecting to 209.90.88.135:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (209,90,88,135,198,244)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Resolving address of ftp.zachados.5gbfree.com
Status: Connecting to 209.90.88.135:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (209,90,88,135,126,44)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
From here i did know what do next, me being the learner and no experience on how to solve this issue. Please i need your help or simple ways of which i can you to move the localhost website to a live server. I really thank your help
Regards
Zachadoshas