Information Communication Technology  ·  Level 6
Website Application
Chapter 4: Host the website application
📚 4 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • choose the best website hosting platform that matches the specific hosting needs.
  • set up the server environment properly to support the website application.
  • upload website application files accurately, following all hosting guidelines.
  • configure the website server correctly to ensure it runs smoothly and meets requirements.

These skills will help you confidently launch and maintain professional websites, making your work valuable in the digital world.

Hosting a website application is a critical phase for ICT technicians responsible for delivering reliable and accessible online services. In Kenya’s dynamic digital economy, organizations rely heavily on their web presence to engage customers, provide information, and conduct transactions. Effective hosting involves not just making the site live but ensuring continuous performance, security, and usability through rigorous monitoring. This chapter covers the hosting platform, server environment setup, uploading the application files and configuring the web server so the hosted application runs securely and reliably.

4.1 Website application hosting platform

A website application only becomes available to its users once it is placed on a server that is permanently connected to the internet. A hosting platform is the combination of server hardware, operating system, web server software, database server, storage, bandwidth and support that a hosting provider rents out, or that an organisation runs itself, to keep a website online 24 hours a day. Choosing and preparing the right platform decides how fast, secure and reliable the finished application will be. Example: a dairy cooperative in Ol Kalou that has built an online milk delivery tracker rents a virtual private server from a local data centre so that farmers can check their deliveries at any hour.

4.1.1 Introduction to website hosting

Website hosting is the service of storing a website's files, databases and other resources on a server and making them reachable over the internet through a domain name. When a visitor types the address, the domain name system (DNS) translates it into the server's IP address, the browser sends a request to that server, and the web server software returns the pages.

Key terms in website hosting

  • Web host (hosting provider): The company that owns or rents out the servers and network, such as local data centres and international cloud providers.
  • Server: A computer that stores the website and answers requests from browsers; it may be physical or virtual.
  • Domain name: The human-readable address of the site, such as an address ending in .co.ke, registered through an accredited registrar.
  • DNS records: Entries that point the domain to the server, mainly A records (IP address), CNAME records (aliases) and MX records (mail).
  • Bandwidth and data transfer: The amount of data the site may send to visitors in a period, usually a month.
  • Uptime: The percentage of time the server is available; a 99.9% uptime guarantee allows about 8.8 hours of downtime a year.
  • Control panel: A web-based tool, such as cPanel or Plesk, used to manage the hosting account.

Why hosting matters

  • Availability: A site on a reliable host stays reachable to users at all times.
  • Performance: Server resources and location affect how fast pages load.
  • Security: The host's firewalls, updates, SSL certificates and backups protect the application and its data.
  • Scalability: A good platform lets resources grow as traffic grows.
  • Professional identity: A custom domain with professional email builds trust with clients.

4.1.2 Types of website hosting services

Hosting services differ in how server resources are shared, how much control the customer has and how much they cost. The right type depends on the size of the application, the expected traffic and the skills of the team.

Shared hosting

Many websites share one server and its CPU, memory and storage. It is the cheapest option and is managed through a control panel, so it suits small business and school websites, but heavy traffic on one site can slow the others and the customer cannot change server settings.

Virtual private server (VPS) hosting

One physical server is divided by virtualisation into several virtual servers, each with its own guaranteed resources, operating system and root access. It suits growing web applications that need custom software, at a moderate cost, but the customer must manage and secure the server.

Dedicated server hosting

A whole physical server is rented to one customer, giving full control and maximum performance. It suits high-traffic or sensitive systems such as banking portals, but it is expensive and needs skilled administrators.

Cloud hosting

The site runs on a network of virtual servers in a provider's data centres, such as Amazon Web Services, Microsoft Azure or Google Cloud. Resources can be increased or reduced on demand and the customer pays for what is used, which suits applications with changing traffic.

Managed hosting

The provider handles server set-up, updates, security, monitoring and backups, leaving the customer to manage the application. Managed WordPress hosting is a common example.

Other types

  • Colocation: The organisation owns the server but places it in a provider's data centre to use its power, cooling and connectivity.
  • Reseller hosting: A customer buys hosting in bulk and resells it to their own clients.
  • Self-hosting (on-premises): The organisation runs the server in its own server room, keeping full control but carrying all costs of power, internet and staff.
Type Control Cost Suitable for
Shared Low Lowest Small, low-traffic sites
VPS High (root) Moderate Growing web applications
Dedicated Full High High traffic, sensitive data
Cloud High Pay as you use Changing or unpredictable traffic
Managed Low to moderate Moderate to high Teams without server administrators

4.1.3 Factors to consider when selecting a host

Choosing a host is a business and technical decision: a cheap host that is often down or insecure costs more in lost users than it saves.

  • Reliability and uptime guarantee: The service level agreement should promise at least 99.9% uptime, with compensation when it is not met.
  • Performance: Server type (SSD storage), allocated CPU and memory, and data centre location close to the users affect speed; a content delivery network (CDN) helps distant users.
  • Technical compatibility: The host must support the application's language, framework and database, such as the correct PHP or Python version, MySQL or PostgreSQL, and Node.js.
  • Security features: Free SSL/TLS certificates, firewalls, malware scanning, DDoS protection and regular server patching.
  • Backup and restore: Automatic daily backups kept off the server, with a simple way to restore.
  • Scalability: The ability to upgrade resources or plan without moving the site.
  • Storage and bandwidth: Enough disk space and monthly data transfer for current and expected use.
  • Customer support: Support available 24 hours a day through phone, chat or tickets, with good response times.
  • Cost and payment terms: The full cost, including renewal prices, domain and email, and convenient payment methods such as mobile money.
  • Control panel and access: A usable control panel, SSH access for developers and easy file transfer.
  • Legal and data protection compliance: Where the data is stored and whether the host meets the Data Protection Act, 2019, especially for personal data.
  • Reputation: Reviews and references from other customers.

4.1.4 Website hosting process

Hosting a website application follows an ordered process from choosing a domain to confirming that the live site works.

  1. Prepare the application: Test the application fully, set production settings (debug off, secure passwords), and export the database.
  2. Register a domain name: Search for an available name and register it through an accredited registrar, for example a .co.ke or .ac.ke name.
  3. Choose a hosting plan: Select the hosting type and provider using the factors in 4.1.3, and open the hosting account.
  4. Point the domain to the host: Set the domain's name servers or DNS A record to the host's details; changes can take up to 48 hours to spread across the internet.
  5. Set up the server environment: Configure the control panel, web server and database (covered in 4.2).
  6. Upload the application files: Transfer the files to the server's web root by FTP/SFTP, the control panel's file manager or Git (covered in 4.3).
  7. Create and import the database: Create the database and user, import the exported data and update the application's connection settings.
  8. Configure the server and security: Set permissions, virtual hosts and an SSL certificate so the site runs on HTTPS (covered in 4.4).
  9. Test the live site: Check every page, form, login and payment function on different browsers and devices.
  10. Launch and monitor: Announce the site, set up backups and uptime monitoring, and keep a record of all hosting credentials in a secure place.
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒4.2 Server environment setup

Before a website application can run on its host, the server must have the software the application depends on: a way to manage the account, a web server to answer browser requests, and a database server to store the data. Setting up this environment correctly…

🔒4.3 Uploading website application files

Once the server environment is ready, the application's files, such as HTML, CSS, JavaScript, images, server scripts and configuration files, must be copied from the developer's computer to the correct folder on the server, and then linked to the server's data…

🔒4.4 Website server configuration

Server configuration is the setting up of the web server, file system and security services so that the hosted application runs correctly, safely and efficiently. A default installation serves a test page to anyone; a configured server serves the right site fo…

Chapter Summary

This chapter covered how a finished website application is placed on a server and made available to its users. It began with the hosting platform: what website hosting is, the main types of hosting services (shared, VPS, dedicated, cloud and managed), the factors to weigh when selecting a host, and the hosting process from registering a domain name to launching the site. Server environment setup followed, covering the configuration of a hosting account through control panels such as cPanel and Plesk, the installation of the Apache and nginx web servers, and the creation of MySQL and PostgreSQL databases with users that have only the rights they need. The chapter then explained the methods of uploading application files (the control panel file manager, FTP and SFTP clients, and Git) and how the uploaded files are connected to the server through the document root, the configuration file, the imported database and correct permissions. Finally, it dealt with server configuration: virtual hosts, directory structures and permissions, management of server files, SSL/TLS certificates, firewall and access control, automatic backups and monitoring tools. Together these steps take an application from the developer's computer to a secure, reliable live website.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Explain what website hosting is and why a website application needs a host before users can reach it. (3 marks)
  2. Which of the following is NOT a type of website hosting service?
    a) Shared hosting
    b) Virtual private server (VPS) hosting
    c) Cloud hosting
    d) Search engine optimisation (2 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain four reasons why proper website hosting is important for a SACCO's online platform. (4 marks)
  2. Describe four types of website hosting services. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Set up Google Analytics website monitoring on a sample website

Information Communication Technology · Level 6
Website Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Install and configure Google Analytics tracking code on the sample website homepage index.html and verify data collection within 48 hours.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Computer with Windows 10 or aboveSample website files (HTML and JavaScript)
Web browser (Google Chrome or Firefox)Google account for Google Analytics
Text editor or IDEInternet access
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Computer with Windows 10 or above1 Pc per Candidate
2Internet accessSufficient for all Candidates
3Web browser (Google Chrome or Firefox)1 Pc per Candidate
4Text editor or IDE (e.g. Visual Studio Code, Sublime Text)1 Pc per Candidate
5Sample website files (HTML and JavaScript)1 set per Candidate
6Google account for Google Analytics1 per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Set up Google Analytics account and property
Candidate logs into Google account successfully
(Award 2 marks for successful login or 0)
2
Candidate creates Google Analytics account with correct naming
(Award 3 marks for correct account creation or 0)
3
Candidate sets up a new property with correct website URL
(Award 3 marks for accurate property setup or 0)
3
Candidate obtains the correct Google Analytics tracking ID (G-XXXXXXXXXX)
(Award 2 marks for correct tracking ID or 0)
2
Sub-Total10
TASK 2: Integrate Google Analytics tracking code into sample website
Candidate opens sample website homepage index.html in text editor
(Award 2 marks for opening correct file or 0)
2
Candidate inserts Google Analytics global site tag (gtag.js) script in the <head> section
(Award 5 marks for correct script insertion or 0)
5
Candidate saves changes correctly and uploads files if necessary
(Award 2 marks for saving/uploading or 0)
2
Sub-Total9
TASK 3: Verify Google Analytics tracking functionality
Candidate opens website in browser and verifies real-time data in Google Analytics dashboard
(Award 4 marks for verification or 0)
4
Candidate documents screenshots of Google Analytics real-time report showing website visit
(Award 3 marks for screenshots or 0)
3
Candidate explains basic metrics captured (e.g. users, sessions)
(Award 4 marks for explanation or 0)
4
Sub-Total11
PRODUCT CHECKLIST
Google Analytics tracking code correctly implemented in index.html with valid tracking ID
(Award 5 marks for correct implementation or 0)
5
Website data appears in Google Analytics real-time dashboard within 24-48 hours
(Award 5 marks for data appearance or 0)
5
Sub-Total10
GRAND TOTAL40
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Analyze Website Traffic and Performance Data for a Hosted Website

Information Communication Technology · Level 6
Website Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Retrieve website traffic and performance data from Google Analytics for the company website and prepare a detailed report analyzing key metrics including sessions, bounce rate, average session duration, and page load times over a 30-day period.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Working computer with Windows 10 or aboveInternet access
Web browser (Google Chrome or Mozilla Firefox)Access to Google Analytics or similar website monitoring tool
Spreadsheet software (Microsoft Excel or LibreOffice Calc)
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Working computer with Windows 10 or above1 Pc per Candidate
2Internet accessSufficient for all Candidates
3Web browser (Google Chrome or Mozilla Firefox)1 Pc per Candidate
4Access to Google Analytics or similar website monitoring tool1 Account per Candidate
5Spreadsheet software (Microsoft Excel or LibreOffice Calc)1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Data Retrieval and Preparation
Logged into Google Analytics or equivalent monitoring tool correctly
(Award 3 marks for successful login, 0 if failed)
3
Selected correct date range of 30 days for data extraction
(Award 2 marks for accurate date selection, 0 if incorrect)
2
Exported traffic and performance data (sessions, bounce rate, avg session duration, page load time)
(Award 3 marks for exporting all required metrics, 0 if incomplete)
3
Imported data correctly into spreadsheet software
(Award 2 marks for correct import without data loss, 0 if errors)
2
Sub-Total10
TASK 2: Data Analysis and Interpretation
Calculated key statistics such as average sessions per day and bounce rate percentage
(Award 4 marks for accurate calculations, 0 if incorrect)
4
Created charts or graphs illustrating traffic trends and performance metrics
(Award 4 marks for clear and correct visualizations, 0 if missing or incorrect)
4
Interpreted data with relevant observations on user behavior and site performance
(Award 5 marks for insightful and relevant commentary, 0 if missing or irrelevant)
5
Sub-Total13
PRODUCT CHECKLIST
Final report containing accurate data tables, charts, and analysis with clear presentation
(Award 7 marks for completeness, clarity, and accuracy of the report, 0 if incomplete or inaccurate)
7
Sub-Total7
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Develop and Prepare Website Monitoring Report 2100mm x 2970mm A4 SizePractical 3
🔒Implement Website Monitoring via Logging PracticesPractical 4
🔒Fix website application bugs to ensure proper functionalityPractical 5
🔒Update Website Application by Applying Patches and Adding New FeaturesPractical 6
🔒Update and Archive Website Content for Institutional WebsitePractical 7
🔒Create and Host a Multi-page Website for a Local BusinessPractical 8
🔒Perform Website Application Version UpgradePractical 9
🔒Conduct vulnerability scans and apply security updates on a hosted websitePractical 10
🔒Full Backup of Website Data Using Appropriate Backup MethodsPractical 11
🔒Backup Website Data Using cPanel Backup WizardPractical 12
🔒Monitor Website Uptime and Performance Metrics Using Monitoring SoftwarePractical 13
🔒Document the Importance and Benefits of Regular Website MaintenancePractical 14
🔒Integrate Google Analytics into a Website and Generate Monitoring ReportsPractical 15
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 19 questions Start quiz ▾
0%
0 / 2
🔒

17 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • choose the best website hosting platform that matches the specific hosting needs.
  • set up the server environment properly to support the website application.
  • upload website application files accurately, following all hosting guidelines.
  • configure the website server correctly to ensure it runs smoothly and meets requirements.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.