Before reading this tutorial, I assume that you have read the first part of this learn to create a website. By now you probably have a domain name registered and a hosting service for your files. An FTP software to ease out things and of course a wordpress installer downloaded on your system.
Now what you need to do is connect on your file server via FTP. Put in Hostname, Username and Password that the hosting provider sent you upon subscribing on their services. Connect and establish connection. To test if you page is ready to go. Type your domain name on your browser. By default your page has something that says this is a default page.
If you’re successful on connecting to the file server and checking your domain name, the next step would be transferring your wordpress file to the pub html folder. I advise you to extract all the files of the wordpress version zip file to a specific folder beforehand. Then copy all files (CTRL+A) then drag drop the files to your pub html folder. See the screenshot.
After all the files of the wordpress finish its transfer from your local hard disk to the file server (hosting), you must raise your senses to avoid messing up your 5 to 10 minute wordpress installation.
So what do we have now? A file server (hosting) that have wordpress files!
Now what you need to do is login to your control panel and or cpanel. How? You can typein like this on your browser – Domainname.com/cpanel and it will automatically bring you to the cpanel that you have. Cpanel is a web app provided by your hosting service provider. It allows you to manage your website online, transfer files, manage emails, manage domain, databases, security etc. So after logging in you’ll see a screen similar to this!
Look for databases tab – mysql database wizard and click on it! The wizard allows you to create adatabase hassle free. 1st step is create a database (use a small sheet of paper or notepad to record your details at the same time) Now you have a database, 2nd you’ll need to create a username and password then you have a user.
So what do we have now? A database with a username and a password!
3rd step is creating a table! And you’re done. No, not done, done with the database.
Now what you need to do is goback to the files that you drag drop via your ftp. Look for a wp-config-sample.php file on your wordpress files. Open it on your computer by clicking the file itself. If you don’t have any WYSYWYG developer tool to open the php file you can open it on a notepad.
Now you have the wp-config-sample.php replace all details highlighted on the image with your DB info.
You should be done if you properly inserted the details.
The next step is to get an AUTH KEY for your wordpress. CTRL + F (find) the word ‘AUTH_KEY’) and replace the lines through this code downloaded through the wordpress AUTH key generator.
These are the lines that you need should have replaced through that AUTH key generator
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
define(‘AUTH_SALT’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘NONCE_SALT’, ‘put your unique phrase here’);
Now all is set! What do we have? A Database, A WP CONFIG FILE (set to connect you in your database)
Next is SAVE AS your wp-config-sample.ph as wp-config.php. After renaming it (SAVE AS) drag drop the wp config file to your wordpress folder where it came.
Now type your website address on your browser to see if the database connection is established. If you are getting “Cannot establish database connection” you might have missed something on the DB configuration (wp-config).
Now if everything goes okay. You will see this screen…PRESTO! INSTANT WEBSITE!