June – Week 2

We’ve outgrown the confines of chez localhost, it’s time we got out into the real world. Start with the web launch checklist, and follow through with (most) of the suggestions (things like meta-tags and SEO can be dealt with by the WordPress SEO plugin- Yoast).

So assuming you’re using WordPress, grab some plugins: Yoast (SEO), Wordfence (Secruity), BackWPup (Backups) and Akimset (Spam protection). We’re almost ready to go, however there’s something we need to do, carefully. Our localhost WordPress internal links will all be incorrect and we need to change them to the domain name that your going to use (haven’t bought your domain name yet? Go get one now! I like namecheap). My current links on my localhost Bee Smart website might look like:


We need to change all of these links (there could be 2, there could be 2000) to:


There are 3 ways to do that, see here, you can even export the database, load the export db into Sublime Text and use “find and replace” there, but perhaps try the other methods first. (And for heavens sake, keep backups of your databases! You don’t want to lose all of your work). Ok so we’ve got a WordPress site, an exported and modified database and a domain name. Now go download FileZilla, (it’s our FTP client for uploading our site) and get your wallet out: time to find a host (it’s recommended you use a different domain name and hosting provider, go to reddit for more suggestions). I use Vidahost (UK-based), if you want to go for a different host, I recommend finding one that uses cPanel and supports WordPress (which should be reasonably expected from most hosts). Once you’ve got some paid hosting and your into cPanel, you need to point your domain name (remember namecheap?) to your host by changing the DNS servers. This walk-through helped me out here. This may take a while, but navigate to your domain name and you should see it change from your domain providers (“there’s no site here”) page to your new hosting providers (“there’s no site here”).

If you struggle, please contact your relevant domain and hosting provider for more help, as each can handle things differently. Once your back in cPanel, go to the database creation tool and create a new database, (here’s where we’ll be putting our existing WordPress Db) don’t worry if the name’s different to the original. Remember the Db server details (it won’t be localhost anymore, but a bunch of numbers (e.g – 100.999.999)) and login to cPanel’s phpMyadmin. Import your modified Db from earlier. Great, now go cPanel and create a new FTP user with relevant login details/password and server name, use FileZilla to login to your directory where you should, with any success, see a public_HTML folder appear, stick your WP install in there, and finally update your uploaded wp-config file with your new Db credentials and server details:

define('DB_NAME', 'newName');
define('DB_USER', 'yourusername');
define('DB_PASSWORD', 'yourpassword');
define('DB_HOST', 'hostDBserver');

Fingers crossed! Your website should now be live, and can be accessed by appending “/wp-admin” to your domain name. I skimmed a fair bit of this process as it can take a while, check this fella’s walk-through to clarify anything I may have missed or jumped over. If you’re really stuck, leave a comment below and I’ll see if I can help.

Leave a Reply