In this tutorial you will learn the basics of how to upload WordPress to a web host. This is particularly useful if you want to host WordPress yourself and use your own domain name to efficiently promote and market your blog. Uploading WordPress to a web host and using a personal domain name also makes your blog look more professional.
While it is certainly possible to host your blog for free at www.WordPress.com, what they are doing is simply providing a service for people who do not have their own web host or the technical know-how to upload and maintain a WordPress installation themselves. Hosting WordPress requires some PHP and database knowledge among other things. Furthermore, www.WordPress.com does not allow advertising for hosted blogs unless the blog attains VIP status.
Create the WordPress Database
WordPress uses a MySQL database to store all of its data and information, so you’ll need to set one up with your web host.
Important: Setting up a database can be unique for any particular web host. No matter what web host you use, you’ll need to remember the database name, username, and password for the database, because WordPress needs this information to communicate with the database and function correctly. Most web hosts allow you to specify at least your own password for the database, but some web hosts won’t let you specify any of this information, so you’ll just have to create the database and settle for whatever your web host assigns for the database name, username, and password.
In my case, the 1&1 Webhosting plan that I use for GlassOcean.net costs a mere $9.99/month and allows the creation of 50 MySQL databases… we only need 1 for WordPress!
I just had to logon to my hosting plan at www.1and1.com, click the MySQL Administration link, then click the New Database button. I provided a password of mywpdata then clicked the Set Up button. After about a minute, my database was online and ready to use! I could also see that my web host automatically assigned the database a database name of db334141650 and a username of dbo334141650.
- Database name: db33414650
- Username: dbo334141650
- Password: mywpdata
…and this is exactly what we will plug into the WordPress configuration file later on.
Visit the official WordPress site and download the latest version of WordPress. All of the WordPress files come packaged inside a zip file.
Extract the Files
The zip file comes packaged with one folder called wordpress, and inside this folder you will find all of the WordPress files.
Extract the wordpress folder somewhere to your computer and open it. In my case I extracted it to the Desktop:
Modify the Configuration
This step is an important one you don’t want to overlook. Before WordPress can function correctly, you must provide it with information about the MySQL database that you created earlier. Particularly, WordPress needs the database name and a username/password to access the database.
Locate the wp-config-sample.php file in the files that you extracted and rename it to wp-config.php. Now open this file in a text editor such as Notepad:
Notice the underlined text, which is where you will plug in the database information that you acquired earlier when you created the MySQL database. Make sure not to erase the single quotation marks.
Upload the Files
Now you’ll want to upload these files to your web server using an FTP program. I like FileZilla since it is robust, easy to use, and of course open source and free.
Welcome to WordPress
Fire up your web browser and navigate to the install script that you uploaded under http://www.[YourSiteURL].com/wp-admin/install.php. Just follow the instructions in your web browser to finish the installation and begin pressing your valuable thoughts!