create a website with wordpress on blue theme background

How To Create a WordPress Website With a Web Host

How To Create a WordPress Website With a Web Host – Beginner’s Guide

So, you have purchased a hosting package and chosen a fitting domain name. At this point, you can’t wait to enter the domain name in the browser and have your very own website pop up. But that won’t quite work just yet. You need to actually develop a website, host it on the server, and only then will it go live.

Or maybe you haven’t even gotten hosting or a domain yet. You don’t even know what those terms mean, but still want to get a website up and running as soon as possible.

Regardless of your situation, fret not! In this article, we will walk you through the entire process of creating your very own website.

There are a few different ways you can go about it. Some a bit harder than others. In the following sections, we will talk about using a Content Management System (CMS) to build your website. It’s a relatively easy process and gets you started in the shortest amount of time. So, let’s dive right in!


Table of Contents

Introduction

WordPress Works Best With a Local Web Host

Step 1: Choosing a domain and hosting

Choose a Domain Name
Register a Domain and Buy Hosting

Step 2: Installing and Customizing WordPress

Install WordPress
Customise WordPress
WordPress Themes
WordPress Plugins

Step 3: Configuring WordPress

Configure WordPress
Delete the Default Page, Post, and Comment
Configure Permalinks
Ensure That Your Website Is Public
Set Your Time Zone
Set the Website Title and Tagline
Enable/Disable Comments
Tweaking Multimedia Settings

Step 4: Securing WordPress

Secure WordPress
Weekly Malware Scans
Randomise WP Login URL
Set a Strong Password
Avoid Dodgy Plugins and Themes
Keep All Plugins, Themes, and WordPress Up-to-Date

Step 5: Adding Content

Add Content to WordPress
Add a New Post
Add a New Page

Step 6: Creating Backups

Set Up Automated Backups

Step 7: WooCommerce

Set up and e-Commerce Store


WordPress Works Best With a Local Web Host

CMS is short for Content Management System and is the software that allows you to create and manage content on the web via an easy-to-use dashboard. More than 60% of all currently live websites have been built using some kind of CMS. WordPress (WP), Drupal, and Joomla! are some prime examples. For the purpose of this guide, we will use WordPress. Now you might be confused as to which WordPress we’re talking about.

WordPress.org vs WordPress.com

WordPress.org merely provides the open-source (free) software that powers your website, which means you will need to find a website hosting company (web host) that provides this software to you in a neat package, as well as stores your website files on a server so that your website is accessible by the internet. .org stands for organisation, which means this is the non-profit side of WordPress.  .com is short for commercial, so this is how you remember that WordPress.com is the commercial/profit side of WordPress. WordPress.com fulfils the role of a web host that provides the WordPress software on servers hosted in the USA, and around the world.

However, WordPress.com doesn’t have the infrastructure to host all the websites in the world and charges US Dollars. If you’re looking for local support (when your website is having problems you’ll need Support Engineers to assist in your language and time-zone), low latency in your country and local prices, it’s best to look for a web host who has web servers located in your country.

So why is it ideal to host your website in the same country as your primary target audience?

Google states that your website’s page speed (the time a visitor has to wait for your page to fully load) affects your website’s ranking. If you’re looking to have your website favoured by search engines such as Google and have your website load in under 1 second, you need to host your website on servers located in your country. For example, if you’re a South African looking to have a website that sells products/services to a target market physically located in South Africa, hosting your website on WordPress.com’s servers in the USA will cause your website to load slower for South Africans and, subsequently, you won’t rank well in South African Google search results.


Step 1: Choosing a domain and hosting

Choose a Domain Name

Note: Skip this step if you have already purchased a domain.

Simply put, a domain is your website’s name. It’s the phrase potential visitors/customers will put into their browsers or find in search results to visit your website. For this reason, (and many others) choosing a good domain name is important. Here are a few tips that will help you get it right:

  • Keep it short: Nobody wants to visit Caspersfireworksandotherstuff.com. and it’s hard to remember.
  • Be brand-specific: Your domain name should give people a semblance of an idea regarding your business.
  • Use keywords relevant to your niche: if your niche is in solar panels, having solar in your domain name will make it much more likely to show in search results when people search for solar panels to buy.
  • Don’t use special characters or numbers: They make you look unprofessional and you don’t want to leave people wondering how to spell your website’s name.
  • Choose the correct domain extensions: Domain extensions are the part of the domain that comes after the period/full-stop (.). A .com domain is a universal choice but depending on your needs or nature of business, you might have to choose a different option.
  • How does it feel when you pronounce it? Your domain name should be easy to pronounce. This would make it likelier to be brought up in conversations.

Register a Domain and Buy Hosting

Note: Skip this step if you have already registered a domain and purchased a hosting plan.

Once you have thought of a catchy domain, you need to get it registered. Look for a hosting provider, like HOSTAFRICA, that offers these essentials, such as a free local .co.za domain, and an SSL Certificate already included in your hosting package, so that there’s no need to buy that separately. An SSL Certificate is absolutely critical in today’s world because it ensures end-to-end encryption between a website and its clients. This way, no eavesdropping can occur, and a website’s traffic and sensitive information always stay protected.

However, your website will only be as fast and secure as the servers it’s hosted on. This is why it’s vital you look for a hosting provider, like HOSTAFRICA, whose servers are optimised for WordPress hosting. Look for these features to make sure your website can compete on the global market.

Optimised features for WordPress hosting with HOSTAFRICA

HOSTAFRICA’s WP hosting includes daily backups and Patchman Automatic Vulnerability patching. The latter ensures that in case any security risks/malware are identified, they get patched automatically and immediately. All HOSTAFRICA WP hosting comes with an additional speed boost courtesy of the LiteSpeed Cache installed on their WordPress servers. It uses intelligent caching to massively reduce a local website’s load times to under 1 second.

Litespeed Web Hosting is up to 12 times faster!

Additionally, in an attempt to give website owners complete control over their website’s administration and management, HOSTAFRICA also offers the gift of cPanel. It’s a powerful web hosting control panel that simplifies the process of website configuration, management, and automation.

cPanel simplifies the process of website configuration, management, and automation.

It’s important you do research on which control panel your potential hosting provider offers before you buy a package and check if it is up-to-standard, as you will have to make do with this to manage everything with respect to your website hosting.

Lastly, HOSTAFRICA WP plans are specially configured to automatically install WordPress on your domain of choice as soon as you buy the package, giving you another head-start on your website development and saving you the pain of confusing configurations. Look for a host that also provides this helpful feature.

Here’s a breakdown of the different WP hosting plans currently offered by HOSTAFRICA:

WordPress hosting plans offered by HOSTAFRICA


Step 2: Installing and Customizing WordPress

Install WordPress

If you can’t find a web host that automatically installs WordPress on your chosen domain, follow this guide from WordPress.org on How To Install WordPress, then proceed with the next step.

Customise WordPress

WordPress themes and plugins allow you to customise the look and functionality of your website according to your needs. After a fresh installation of WordPress, your website will be running a default theme and the plugins installed won’t provide you with the functionality you desire. Let’s look at how you can change it.

WordPress Themes

WordPress has a huge community. The number of available themes (both free and paid) is tremendous. The most famous ones can be found on the official WordPress website. However, there are plenty of other websites like ThemeForest that also contain a multitude of free and paid themes.

To change/install a theme on WordPress, follow these steps:

  1. Log in to the WordPress dashboard as an admin user.
  2. From the menu bar on the left, click Appearance and then Themes.
    From the menu bar on the left, click Appearance and then Themes.
  3. Click Add New.
    Click Add New.
  4. Now, you can either upload a theme (must be in .zip format) or search for it. For the former, follow these steps:
    1. Click Upload Theme and then Choose File.
      Click Upload Theme and then Choose File.
    2. Navigate to the relevant .zip file and click Install Now.
    3. Once installed, you should see the following screen:
      Once installed, you should see the following screen:
    4. Click Activate.
    5. Visit your homepage to see the newly installed theme.
  5. To install a theme by searching, follow these steps:
    1. Search for the theme from the bar on the right.
    2. Click the relevant result and then select Install.
      Click the relevant result and then select Install.
    3. After the installation finishes in a few moments, the Activate button should appear on the left. Click it.
      After the installation finishes in a few moments, the Activate button should appear on the left.
    4. Visit your homepage to see the newly installed theme.

Now that we have changed the design of our website, let’s look at some of the features/customisations we can add via WordPress plugins.

Switch your WordPress hosting to HOSTAFRICA and get 80% off for 3 months!

WordPress Plugins

Plugins add functionality to your website without you having to write code or change any configuration files. Just like themes, there are thousands of free and paid WordPress plugins available. From anti-malware to sitemap generators; from search engine optimisation (SEO) to lead generation; from automatic backups to customised word editors; there is a plugin for virtually anything you may need.

To install a plugin on WordPress, follow these steps:

  1. Log in to the WordPress dashboard as an admin user.
  2. Select Plugins from the left-hand sidebar and then Add New.
    Select Plugins from the left-hand sidebar and then Add New.
  3. Now, you can either upload a plugin (must be in .zip format) or search for it. For the former, follow these steps:
    1. Click Upload Plugin and then Choose File.
      Click Upload Plugin and then Choose File.
    2. Navigate to the relevant .zip file and click Install Now.
    3. Once installed, you should see the following screen:
      You should see this screen once installed.
    4. Click Activate Plugin.
  4. To install a plugin by searching, follow these steps:
    1. Search for the plugin from the search bar on the right.
    2. For the relevant result, select Install Now.
      Click 'Install Now' from the relevant result.
    3. After the installation finishes in a few moments, the Activate button should appear. Click it.
      Click activate once installed.

Step 3: Configuring WordPress

Configure WordPress

Before you actually start creating content on your website, there are a few basic tweaks you should make to configure your website properly. Let’s go through them:

Delete the Default Page, Post, and Comment:

By default, WordPress creates a dummy page and post after installation. It’s a good idea to delete or replace them.

To delete the post, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Now, select Posts and then All Posts.
    Select Posts and then All Posts.
  3. Hover over the post, and select Trash.
    Hover over the post, and select Trash.

If you bought a WordPress Hosting package with HOSTAFRICA, our auto-install parks a default holding page on new domains while you get your website ready. Follow the steps below to delete it.

Our auto install parks a default holding page on new domains while you get your website ready.

  1. Log in to your cPanel Dashboard by entering your domain into your web browser URL bar followed by port 2083. It will look like this: https://yourdomain.co.za:2083. Once you’re in, select File Manager.
    Select File Manager.
  2. Browse to public_html folder and double-click on blue icon.
    Browse to public_html folder and double-click on blue icon.
  3. Remove the file by clicking on index.html to highlight it in blue, then press Delete. Confirm the prompt.

To delete the page on WP, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Now, select Pages -> All Pages.
    Select Pages -> All Pages.
  3. Hover over the page, and select Trash.
    Hover over the page, and select Trash.

Configure Permalinks:

Permalinks define how URLs of different posts and pages are structured on your website. You can either choose from the 5 available permalinks (plain, day and name, month and name, numeric, post name) or create a customised permalink. E.g. http://myblog/?p=123 is an example of the plain permalink which just appends the post ID at the end of the link. By default, WordPress chooses the “Day and name” permalink, but it’s recommended to create a customised one for your website, or use post name because it’s more reader-friendly, and therefore more trustworthy to visitors and search engines, improving CTR and SERP rank.

To change your permalink settings, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Now, select Settings -> Permalinks.
    Select Settings -> Permalinks.
  3. Now choose the permalink and save the changes.
    (Note: We created a simple but visitor-friendly permalink selecting the “category” and “postname” boxes at the bottom of the screenshot.)
    Now choose the permalink and save the changes.

Ensure That Your Website Is Public:

Even though your website should be public by default, to ensure that it is, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Go to Settings -> Reading.
    Go to Settings -> Reading.
  3. Make sure that the box next to Search engine visibility is unchecked.

Set Your Time-zone:

Ideally, you should either synchronise WordPress with your local time-zone or with that of your target audience. To change/set your time zone, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Then select Settings -> General.
    Select Settings -> General.
  3. Select the appropriate time zone from the dropdown and save the changes.
    Select the appropriate time-zone from the dropdown and save the changes.

Set the Website Title and Tagline:

Now would be a good time to brainstorm a catchy title and tagline for your website. Once you are ready to change the default values, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Then select Settings -> General.
    Select Settings -> General.
  3. Enter the title and the tagline at the top. Save the changes.
    Enter the title and the tagline at the top. Save the changes.

Enable/Disable Comments:

Comments are a great way to engage with your audience. To enable or disable them, follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Then select Settings -> Discussion.
  3. Check or uncheck the box that says Allow people to submit comments on new posts to enable or disable comments.
    Check or uncheck the box that says Allow people to submit comments on new posts to enable or disable comments.

You may also want to check out other comment settings below.

  • To force users to log in before commenting, check the Users must be registered and logged in to comment box.
  • To change comment notifications, look at the Email me whenever section.
  • You may also add comment moderation settings using the Before a comment appears, Comment Moderation, and Disallowed Comment Keys sections.

Tweaking Multimedia Settings:

You may also want to change (or at least check) the default cropping sizes for any-and-all images you may upload to your media library. Follow these steps:

  1. Log in to the WordPress admin dashboard.
  2. Then select Settings -> Media.
  3. Select or vet the pixel values for the thumbnail, medium, and large sizes.
    Select or vet the pixel values for the thumbnail, medium, and large sizes.

Step 4: Securing WordPress

Secure WordPress

Wordfence reports that every minute, almost 90,000 hacking attempts are made on WordPress websites worldwide. This fact alone should make you take WordPress security very seriously. However, daunting as it may seem, if you follow the best security practices and stay vigilant and preemptive, you shouldn’t have much to worry about.

There are many ways your WordPress site can get compromised. You could either be running an outdated WP version that’s full of vulnerabilities. Or you could have downloaded a fake/malicious plugin that injected code into your core WP files. Or because your traffic wasn’t encrypted (no SSL certificate) and you became a victim of an eavesdropping attack. Or simply because you chose a very weak password.

Most of the time, after a successful hack, even your database is compromised, which means that all your data has been lost, and your site has been rendered inaccessible. Even if you somehow get it back, there’s no way to be 100% sure that the hacker didn’t leave another backdoor open for later. Thus, prevention is better than cure. In fact, there might be no cure. You might have to redo all the hard work of building a website. So, let’s prevent that from happening by following these steps:

Weekly Malware Scans:

The most dangerous thing about malware is that it comes unannounced. That’s why it’s an absolute must to run malware scans every week. Cerber is an excellent security plugin that can be used for this purpose. It protects against hacker attacks, malware, Trojan, and spam. It also puts a limit on the number of consecutive failed login attempts (from a certain IP or subnet) to prevent brute force attacks. A complete list of its features can be found here.

The free version detects infections but doesn’t remove them. So, we recommend obtaining the pro license for $29/quarter if you are running just one website ($39/month for up to 5 websites). The automatic malware scans, integrity checks, and infection recovery are well worth the money.

Another top security plugin, with an impressive 4+ million installations and stellar rating, is Wordfence Security.

Randomise WP Login URL:

By default, the WordPress admin login page is always http://yourblog.com/wp-login.php. And if you don’t change it, hackers can easily gain access to your website by cracking your password. However, using Cerber, you can easily change the URL to something random. Here’s how:

  1. Log in to your WP admin dashboard.
  2. From the left sidebar, select “WP Cerber”.
    From the left sidebar, select “WP Cerber”.
  3. Then select Main Settings tab.
    Then select Main Settings tab.
  4. Scroll down to the Custom login page section to define a Custom login URL for your website. Save the changes.
    (Note: Make sure this doesn’t overlap with the URL of any existing page. Also bear in mind that if you forget the custom URL, you will be locked out of your website)
    Scroll down to the Custom login page section to define a Custom login URL for your website.

Set a Strong Password:

Arguably the easiest way to strengthen your defences, and also the most important, is to set a strong password. Read this extensive guide about all the best practices for creating strong passwords.

Avoid Dodgy Plugins and Themes:

Plugins and themes are a great way to make your website more feature-rich and reader-friendly. However, they must always be downloaded/purchased from reputable, trusted sources. E.g. CodeCanyon is a trustworthy website with thousands of safe plugins and themes. Whatever you do, don’t download free/premium themes or plugins from shady websites.

Keep All Plugins, Themes, and WordPress Up-to-Date:

Most of the time, if a piece of software is labelled outdated or obsolete, it’s because it’s full of potential bugs or vulnerabilities. In 2019, almost 60% of breaches occurred due to vulnerabilities that had already been patched with previous updates. This is why it’s critical to keep your plugins, themes, and WordPress core up to date at all times. Fortunately for us, WordPress always notifies/alerts us whenever an update is available; we just need to be vigilant in applying it.

Moreover, as a rule of thumb, only install plugins that are really necessary, and uninstall anything that you don’t use anymore. This will decrease your potential attack surface (all security vulnerabilities that can be exploited).


Step 5: Adding Content

Add Content to WordPress

Now that we have designed, configured, and secured our website, we are ready to start adding content to it. WordPress content can be added in two ways: a post or a page. The main difference between the two is that posts can be divided into categories, and can be tagged and/or archived. Posts are normally time-sensitive content (blog entries or articles) that are displayed in chronological order on your website. On the other hand, pages contain static, one-off content like privacy policies, contact us forms, and about us pages etc.

Add a New Post:

To add a new post to WordPress, follow these steps:

  1. Log in to the WP dashboard.
  2. Select Posts -> Add New
    Select Posts -> Add New
  3. Create a title for your post, and enter content in the body.
    Create a title for your post, and enter content in the body.
  4. You can use the sidebars on the right to adjust typography, change colour or text settings, add tags/excerpts/permalinks/categories, or set a featured image for your post.
  5. To add an image or video to your post, click the plus icon on the top left and select Image or Video.
    To add an image or video to your post, click the plus icon on the top left and select Image or Video.
  6. Once you are all done, you can publish using the button on the top right.

Add a New Page:

To add a new page to WordPress, follow these steps:

  1. Log in to the WP dashboard.
  2. Select Pages -> Add New.
    Select Pages -> Add New.
  3. Create a title for your page, and enter content in the body.
    Create a title for your page, and enter content in the body.
  4. You can use the sidebars on the right to adjust typography, change colour or text settings, add permalinks/page attributes, or set a featured image for your page.
  5. To add an image or video to your page, click the plus icon on the top left and select Image or Video.
    To add an image or video to your page, click the plus icon on the top left and select Image or Video.
  6. Once you are all done, you can publish using the button on the top right.

Step 6: Creating Backups

Setting Up Automated Backups

We will wrap things up by enabling automated backups for our website. Follow these steps:

  1. Log in to the cPanel dashboard by entering https://yourdomain.co.za:2083 in your web browser URL bar.
  2. Select WordPress Manager by Softaculous under SOFTWARE.
    Select WordPress Manager by Softaculous under SOFTWARE.
  3. For the desired WordPress installation, press the pencil icon to edit.
    For the desired WordPress installation, press the pencil icon to edit.
  4. Scroll down. From the Automated backups dropdown, select the desired backup frequency. Also, choose the Backup rotation number which will be the maximum limit for created backups. If this limit is reached, Softaculous will delete the oldest backup before creating a new one.
    Scroll down. From the Automated backups dropdown, select the desired backup frequency. Also choose the Backup rotation number which will be maximum limit for created backups.
  5. Click the Save Installation Details button at the bottom.

Step 7: WooCommerce

Set up an e-Commerce Store

Now that your website is all set up, it’s time to get your store online. There are plenty of ways to build an online store, but WooCommerce is, by far the best choice, and best of all – it’s free.

Set Up a WooCommerce Store on your WordPress Website
How to set up WooCommerce Store blog cover

Now that you’ve set up your WordPress website you should have a solid foundation to work from and make your website truly amazing. We hope this helped!

Happy hosting!


Switch your WordPress hosting to HOSTAFRICA and get 80% off for 3 months!

Back to top of page

Share this article: