Software Development  ·  Level 5
Web Application Development
Chapter 5: To host web application
📚 6 Topics
What you will be able to do

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

  • Choose the right web hosting service provider based on the specific needs of your project.
  • Acquire and set up a domain name correctly by following all the necessary steps.
  • Configure a web server properly to ensure your application runs smoothly.
  • Deploy your web application accurately using the right deployment tools and procedures.
  • Implement effective web security measures to protect your application and users.
  • Maintain and monitor your web application consistently to keep it running at its best.

These skills will help you confidently launch and manage real-world web applications that perform well and stay secure.

Web application hosting is a fundamental step for software developers in Kenya aiming to deploy their applications to the internet where users can access them anytime and anywhere. Hosting involves choosing the appropriate infrastructure and services to ensure reliable performance, security, and scalability of web applications. This chapter discusses the critical considerations in selecting web hosting services and acquiring domain names, which are essential for establishing a professional online presence for software projects, startups, or corporate solutions.

5.1 Web hosting service identification

Selecting the right web hosting service is crucial for Kenyan software developers, as it affects application availability, speed, security, and cost-efficiency. Developers must understand various hosting techniques to match their project requirements, budget constraints, and expected user traffic. This knowledge enables informed decisions that optimize resource utilization while meeting performance expectations.

5.1.1 Types of web hosting techniques

Web hosting techniques vary in resource allocation, control, and cost, each suited to different project scales and complexity. Kenyan developers working on applications for institutions like county government portals or retail e-commerce platforms must discern the hosting type that aligns with their functional and security needs.

Shared Hosting

Shared hosting means multiple websites are hosted on a single physical server, sharing CPU, memory, and storage resources. This option is cost-effective and suitable for small projects or startups with low to moderate traffic, such as a local SACCO's informational website. However, resource sharing can lead to performance variability and limited customization.

Dedicated Hosting

Dedicated hosting provides exclusive access to an entire physical server for one client, offering maximum control, customization, and performance. It is ideal for high-traffic applications like a bank’s online banking portal or a university’s student management system. The higher cost reflects enhanced security and resource availability.

Free Hosting

Free hosting services offer no-cost hosting with limited features, bandwidth, and storage, often supported by advertisements. While attractive for experimentation or personal projects-free hosting is unsuitable for professional web applications due to reliability concerns and branding limitations. For instance, a freelance developer testing a prototype might use free hosting temporarily.

Cloud Hosting

Cloud hosting leverages virtualized resources distributed across multiple servers, providing high scalability, availability, and pay-as-you-go pricing. Kenyan enterprises like insurance firms or e-commerce startups benefit from cloud hosting’s flexibility to handle fluctuating traffic and rapid growth without upfront hardware investment. Cloud providers often include robust security and disaster recovery features.

Practice Questions

  1. Explain how shared hosting differs from dedicated hosting in terms of resource allocation and suitability for different web applications. (10 marks)
  2. Discuss the advantages of cloud hosting for a Kenyan retail business launching an online store. (10 marks)
  3. Identify scenarios where free hosting might be acceptable and explain why it is generally not recommended for professional applications. (10 marks)
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
🔒5.2 Domain acquisition and configuration

Acquiring and configuring a domain name is critical for establishing a recognizable online identity for web applications. In Kenya, domain management involves understanding the process of domain lookup, registration, and pricing, which impacts the accessibilit…

🔒5.3 Web Server Configuration

In Kenya's growing digital economy, the configuration of web servers is a critical skill for software developers focused on web application deployment. Proper web server configuration ensures reliability, security, and optimal performance of web applications a…

🔒5.4 Web application deployment tools

In Kenya's growing software development sector, choosing the right deployment tool is crucial for delivering web applications efficiently and reliably. Deployment tools automate the process of transferring code from development environments to live servers, re…

🔒5.5 Web security measures

In Kenya's growing digital economy, securing web applications is critical for protecting sensitive data, maintaining user trust, and complying with regulatory requirements such as the Data Protection Act 2019. Software developers working in sectors like bankin…

🔒5.6 Web application maintenance and monitoring

Maintaining and monitoring a web application is vital to ensure continuous availability, security, and optimal performance. In Kenya's dynamic business environment, where many institutions rely on web applications for service delivery, effective maintenance sa…

Chapter Summary

This chapter explored the essential steps involved in hosting a web application, beginning with the identification of appropriate web hosting services. Various hosting techniques were examined, including shared, dedicated-free, and cloud hosting, each offering different levels of control, performance, and cost. The process of domain acquisition was detailed, covering domain lookup, registration, and pricing considerations to secure an online presence. Configuring the web server involved domain setup, managing the Domain Name System (DNS), and utilizing control panels for efficient administration. Deployment tools such as FTP, GITs, and Docker were introduced as practical means to transfer and manage application files effectively. Web security measures were emphasized, highlighting the importance of SSL/TLS certificates, firewalls, regular updates, strong authentication protocols, and reliable backup solutions. Finally, the chapter addressed ongoing web application maintenance and monitoring, focusing on server and database upkeep, application updates, and the use of monitoring tools to track performance, uptime, security, and logs, ensuring the application remains secure and operational.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Which type of web hosting allows multiple websites to share server resources? (2 marks)
  2. Explain the difference between domain lookup and domain registration. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with model answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Differentiate between shared and dedicated web hosting techniques, highlighting their suitability for a startup software company in Nairobi. (4 marks)
  2. Explain the process of domain lookup and its importance before registering a domain for a Kenyan e-commerce web application. (4 marks)
🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

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

16 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 right web hosting service provider based on the specific needs of your project.
  • Acquire and set up a domain name correctly by following all the necessary steps.
  • Configure a web server properly to ensure your application runs smoothly.
  • Deploy your web application accurately using the right deployment tools and procedures.
  • Implement effective web security measures to protect your application and users.
  • Maintain and monitor your web application consistently to keep it running at its best.

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.