SAKIM IMPACT

Web Hosting

Detailed Web Hosting notes with clear explanations, real-life examples, diagrams, visual illustrations, step-by-step procedures, practical activities and an interactive exam system.

🏠 Home

1. Introduction to Web Hosting

Web hosting is a service that provides the storage, computing resources and network connection needed to make a website or web application available to users over the internet. Website files such as HTML, CSS, JavaScript, images, videos and server-side application files are stored on a hosting server.

When a visitor enters a website address in a browser, several processes take place. The domain name is resolved to the appropriate server address, the browser connects to the server, and the server returns the requested web resources to the visitor.

Web hosting server infrastructure
Example: If a student creates index.html , style.css and several image files, the files can be uploaded to a web hosting server. A visitor can then open the domain name and view the website through a browser.

Why Web Hosting Is Important

  • Website availability: hosting makes website files accessible to users through the internet.
  • Storage: the server stores the files and other resources required by the website.
  • Server processing: hosting can provide the computing environment required by dynamic websites and applications.
  • Database support: many hosting services provide databases for websites that store users, products, posts or other information.
  • Email and other services: some hosting plans provide additional services such as email accounts, backups and security tools.

Basic Web Hosting Process

                     VISITOR
                        |
                    [BROWSER]
                        |
                  [DOMAIN NAME]
                        |
                     [DNS]
                        |
                 [HOSTING SERVER]
                    /        \
            [WEBSITE FILES] [DATABASE]
                        |
                  WEB RESPONSE
                        |
                     BROWSER

2. Types of Web Hosting

Different hosting arrangements provide different levels of resources, control, scalability and administration. The appropriate choice depends on the website size, expected traffic, technical requirements and available budget.

Shared Hosting

Several websites use resources on the same physical server. It is commonly suitable for small websites because it is generally simple to manage and relatively affordable.

Example: A small business information website.

VPS Hosting

A Virtual Private Server provides an isolated virtual environment with more control and dedicated resource allocations than typical shared hosting.

Example: A growing web application requiring more server control.

Dedicated Hosting

A customer uses an entire physical server rather than sharing that server with unrelated websites. It can provide substantial control and resources.

Example: A demanding organization requiring dedicated infrastructure.

Cloud Hosting

Website services can run across a pool of interconnected computing resources. This can support flexible scaling and resilience depending on the provider's design.

Example: A website with changing traffic requirements.
Remember: The most expensive hosting type is not automatically the best choice. Select hosting according to actual website requirements.

Hosting Comparison

Type Main Characteristic Suitable Example
Shared Multiple websites share server resources. Small website or portfolio.
VPS Virtual server environment with increased control. Growing web application.
Dedicated One customer uses the physical server. Resource-intensive service.
Cloud Uses a pool of interconnected infrastructure. Scalable online service.

3. Domains and DNS

A domain name is a human-readable name used to access a website, while DNS (Domain Name System) helps translate domain names into the addressing information needed to locate internet services.

Example: Instead of asking a visitor to remember a numerical IP address, a website can use a domain such as example.com . DNS helps the browser discover where the domain's web service is hosted.

Common DNS Records

Record Purpose Example Use
A Maps a domain or hostname to an IPv4 address. Pointing a website hostname to a server.
AAAA Maps a hostname to an IPv6 address. Providing IPv6 addressing for a website.
CNAME Creates an alias pointing to another hostname. Using www as an alias for another hostname.
MX Specifies mail servers for a domain. Directing domain email to a mail service.
TXT Stores text information used by various services. Domain verification or email-security information.

Step-by-Step: Creating a Domain in cPanel

This procedure demonstrates how a registered domain can be added to an existing cPanel hosting account. cPanel itself does not normally register or renew a domain; those actions are handled by the domain registrar or hosting provider. The exact options shown depend on the hosting provider.

Example cPanel Create a New Domain screen

Example Screenshot: Create a New Domain

This example shows the domain field, document-root option and Submit button. Your hosting provider's current cPanel interface may look different.

  1. Register or obtain the domain: for example, schooldemo.com .
  2. Log in to cPanel: use the hosting credentials supplied by your provider.
  3. Open Domains: select Domains from the cPanel dashboard.
  4. Click Create a New Domain: this opens the domain-creation form.
  5. Enter the domain: type the fully qualified domain name, for example schooldemo.com .
  6. Choose the document root: for a separate website, use a separate document-root folder when your provider permits it. A common example is public_html/schooldemo.com .
  7. Submit: click Submit and confirm that the domain appears in the Domains list.
  8. Configure DNS: use the nameservers or DNS records supplied by the hosting provider.
  9. Wait for DNS propagation: DNS changes may take time to become visible to all resolvers.
  10. Verify the document root: make sure you know exactly which folder will contain the website files.
Important: cPanel's current documentation says the Domains interface manages domains associated with the account, while registration, renewal and other registrar actions are handled by the registrar or hosting provider.

Creating and Connecting a Domain

    REGISTERED DOMAIN
           |
           v
    [ADD DOMAIN IN CPANEL]
           |
           v
    [DOCUMENT ROOT]
           |
           v
    [UPLOAD WEBSITE]
           |
           v
    [DNS POINTS TO HOST]
           |
           v
    [LIVE WEBSITE]

Step-by-Step: Connecting a Domain to Hosting

1. Register Domain
β†’
2. Obtain Hosting
β†’
3. Configure DNS
β†’
4. Wait for DNS Changes
β†’
5. Test Website

4. Web Servers

A web server is software, and commonly the computer or virtual machine running that software, that accepts web requests and returns web resources to clients. Common web-server software includes Apache and Nginx.

Apache

A widely used web-server platform that can serve static websites and support dynamic web applications through suitable modules and integrations.

Nginx

A high-performance web server and reverse proxy commonly used to serve websites and handle HTTP/HTTPS traffic.

Application Runtime

Some websites require a runtime such as PHP, Node.js or another supported server-side environment to execute application code.

Database Server

Stores structured application data such as user accounts, products, articles and transactions.

Web Server Request Flow

    [BROWSER]
        |
     HTTP / HTTPS REQUEST
        |
    [WEB SERVER]
        |
        +---- Static file ----> HTML / CSS / JS / IMAGE
        |
        +---- Application ----> SERVER-SIDE CODE
                                  |
                               [DATABASE]
                                  |
                             APPLICATION RESPONSE
                                  |
                             [WEB SERVER]
                                  |
                               BROWSER

5. Step-by-Step: How to Host a Website on a Server

This practical procedure demonstrates how to take a website created on your computer and publish it on a typical cPanel web-hosting server . The exact appearance of a hosting control panel can differ between hosting companies, but the main process is similar. cPanel documentation identifies public_html as the web root commonly used for the main domain, while some additional domains can have their own document-root folders. ξˆ€citeξˆ‚turn1search0ξˆ‚turn0search8

Practical example used in this lesson: Assume you have created a website folder called schoolwebsite containing index.html , about.html , css/style.css , js/script.js and an images folder. The goal is to make that website accessible through a domain such as www.example.com .

What You Need Before Starting

  • A completed website on your computer.
  • A web-hosting account with access to a server.
  • A domain name, or a temporary hosting address supplied by the host.
  • cPanel access, if the hosting company uses cPanel.
  • The correct website files and folders.
  • Internet access for connecting to the hosting server.
Example cPanel dashboard showing File Manager
Example picture: a cPanel dashboard with the File Manager option highlighted. The exact appearance may differ between hosting providers.

Step 1: Prepare and Test the Website on Your Computer

Before uploading anything, open the website locally and check that the homepage, navigation, images, CSS and JavaScript work correctly. This prevents you from uploading a website that already contains broken links or missing files.

Example Website Folder Before Upload

    schoolwebsite/
    β”œβ”€β”€ index.html          ← MAIN HOMEPAGE
    β”œβ”€β”€ about.html
    β”œβ”€β”€ contact.html
    β”œβ”€β”€ css/
    β”‚   └── style.css
    β”œβ”€β”€ js/
    β”‚   └── script.js
    └── images/
        β”œβ”€β”€ logo.png
        └── banner.jpg
Important: For a simple static site, make sure your main homepage is named index.html . A server can then use it as the default page when the domain is opened.

Step 2: Log In to Your Hosting Control Panel

Use the login details supplied by your hosting provider to enter the hosting control panel. If the provider uses cPanel, you will normally see management areas for files, domains, databases, email and other services.

  1. Open your hosting provider's customer or control-panel login page.
  2. Enter your username and password.
  3. Complete any security verification or two-factor authentication required.
  4. Open the cPanel dashboard.
Security: Never put your real hosting password inside your website code or share it publicly.

Step 3: Open File Manager

In cPanel, locate the Files section and click File Manager . File Manager provides a browser-based way to manage files and folders on the hosting account. ξˆ€citeξˆ‚turn0search0

Example cPanel File Manager with Upload button
Example picture: cPanel File Manager showing the Upload button. The interface can look different depending on the cPanel version and hosting provider.

Step 4: Open the Website's Web Root

For the main domain in a common cPanel setup, open public_html . This is the directory from which files for the main website are commonly served. cPanel describes the Web Root as public_html or www and allows a domain to have a specific document root. ξˆ€citeξˆ‚turn0search0ξˆ‚turn0search8

Open File Manager
β†’
Find public_html
β†’
Open public_html
For another domain: do not automatically assume that every domain uses the main public_html folder. Check the domain's configured document root in the hosting control panel. ξˆ€citeξˆ‚turn0search8

Step 5: Compress the Website into a ZIP File

If your website contains many files and folders, compressing the site into one ZIP archive is usually easier than uploading every file separately. cPanel File Manager supports uploading compressed files and extracting them on the server. ξˆ€citeξˆ‚turn0search0

On your computer, right-click the website folder and choose the operating system's compression option. The result might be something like schoolwebsite.zip .

Before and After Compression

    BEFORE:
    SchoolWebsite/
       index.html
       about.html
       css/style.css
       js/script.js
       images/logo.png
    
    AFTER:
    SchoolWebsite.zip   ← ONE FILE TO UPLOAD

Step 6: Upload the ZIP File to the Server

With public_html open, click Upload . Select the ZIP file from your computer or drag it into the upload area. Wait until the upload finishes completely before leaving the page. cPanel's File Manager supports uploading files, while a folder itself cannot be uploaded directly through that interface; a ZIP archive can instead be uploaded and extracted. ξˆ€citeξˆ‚turn0search0

Example cPanel upload window
Example picture: cPanel's upload interface with a file-selection/drop area.

Step 7: Extract the Website ZIP File

Return to the public_html directory after the upload finishes. Select or right-click the ZIP file and choose Extract . cPanel supports extracting ZIP archives when the required server support is available. ξˆ€citeξˆ‚turn0search0

  1. Locate schoolwebsite.zip .
  2. Select the archive.
  3. Click Extract .
  4. Confirm the extraction location.
  5. Check that index.html , CSS, JavaScript and image folders are present.
  6. Delete the ZIP archive after confirming the extraction, if it is no longer needed.
Common mistake: If extraction creates public_html/schoolwebsite/index.html when you intended the homepage to be directly under public_html/index.html , the website may appear at a subfolder address instead of the main domain. Move the website contents to the correct document root.

Step 8: Check the Website Files and Folder Structure

After extraction, confirm that the structure is correct. For a simple main-domain static website, the result should look similar to this:

Correct Server Structure

    public_html/
    β”œβ”€β”€ index.html       ← HOMEPAGE
    β”œβ”€β”€ about.html
    β”œβ”€β”€ contact.html
    β”œβ”€β”€ css/
    β”‚   └── style.css
    β”œβ”€β”€ js/
    β”‚   └── script.js
    └── images/
        β”œβ”€β”€ logo.png
        └── banner.jpg

If the homepage is buried inside an extra folder, the domain may not display it as expected. Check the hosting provider's document-root arrangement before moving files.

Step 9: Connect the Domain to the Hosting Server

Uploading files alone does not always make a custom domain work. The domain must point to the hosting service using the DNS configuration required by the hosting provider. The exact records depend on the provider and hosting setup.

Domain
β†’
DNS
β†’
Hosting Server
β†’
Website Files
  1. Find the DNS or domain-management instructions provided by your host.
  2. Identify whether the provider requires nameservers or particular DNS records.
  3. Enter the required DNS configuration at the domain provider.
  4. Wait for the DNS change to become effective.
  5. Test the domain in a browser.
Important: DNS changes do not necessarily appear everywhere immediately. The exact timing depends on DNS caching and the configuration used.

Step 10: Open the Website in a Browser

Enter the domain in the browser. If the DNS and hosting configuration are correct, the browser should request the homepage from the hosting server.

Example: If your domain is www.schoolwebsite.com , enter that address in the browser. The server should return index.html and the browser should display the website.

Step 11: Install or Enable HTTPS

After the website is working, enable HTTPS using the certificate system provided by your hosting company or another suitable certificate service. Let's Encrypt provides free automated certificates, although the exact installation process depends on the hosting environment. ξˆ€citeξˆ‚turn0search12

  1. Open the hosting provider's SSL/TLS or security section.
  2. Select the domain.
  3. Request or enable an appropriate certificate.
  4. Wait for certificate installation to complete.
  5. Open the website using https:// .
  6. Check that important pages and resources also load correctly over HTTPS.

Step 12: Test the Hosted Website

Do not assume that uploading the files means the deployment is complete. Test the complete website from the browser.

Test What to Check Expected Result
Homepage Open the domain. Homepage loads correctly.
Navigation Click menu links. Correct pages open.
Images Check all images. Images display without broken-image icons.
CSS Check page appearance. Styles are applied correctly.
JavaScript Test buttons and interactions. Required functions work.
HTTPS Open the HTTPS address. Secure connection works.
Mobile Test a narrow screen. Layout remains usable.

Complete Hosting Process

1. Create Website
β†’
2. Test Locally
β†’
3. Get Hosting
β†’
4. Open File Manager
β†’
5. Open Web Root
β†’
6. Upload ZIP
β†’
7. Extract
β†’
8. Configure DNS
β†’
9. Enable HTTPS
β†’
10. Test Website

Practical Exercise: Host a Student Website

Task: Create a small three-page website and publish it on a test hosting account.

  1. Create index.html , about.html and contact.html .
  2. Create a CSS folder and an images folder.
  3. Test the website locally.
  4. Compress the website into a ZIP file.
  5. Log into the hosting control panel.
  6. Open File Manager and locate the correct document root.
  7. Upload and extract the ZIP file.
  8. Check the file structure.
  9. Connect or verify the domain/DNS configuration.
  10. Open the website in a browser and test every page.
  11. Enable HTTPS where supported.
  12. Record the steps followed and any problems encountered.

6. Uploading a Website to a Hosting Server

Website deployment involves moving the website files from a development computer to the hosting environment and ensuring that the server is configured to serve them correctly.

Files Commonly Uploaded

  • HTML files: provide the structure and content of pages.
  • CSS files: control presentation, layout and appearance.
  • JavaScript files: provide client-side interaction and functionality.
  • Images and media: provide visual and multimedia content.
  • Server-side files: provide application processing when the hosting environment supports them.

Step-by-Step: Create an FTP Account in cPanel

An FTP account provides controlled access to website files. cPanel allows an account to be limited to a particular directory. This is preferable to giving a user unnecessary access to the entire hosting account.

Example cPanel FTP Accounts form

Example Screenshot: FTP Accounts

The example shows Login, Password, Directory, Quota and Create FTP Account fields.

  1. Log in to cPanel.
  2. Open FTP Accounts under Files .
  3. Enter a username such as website .
  4. Select the correct domain.
  5. Generate a strong password.
  6. Set the FTP account's directory to the website's document root, for example public_html/schooldemo.com , when appropriate.
  7. Choose a quota if required.
  8. Click Create FTP Account .
  9. Store the FTP connection details securely.

Step-by-Step: Connect to the Server with FileZilla

Example FileZilla Site Manager

Example Screenshot: FileZilla Site Manager

The example shows the Host, Port, Protocol, Username and Password fields. Use the secure connection method specified by your hosting provider.

  1. Install and open FileZilla or another supported FTP/SFTP client.
  2. Open Site Manager and create a new site profile.
  3. Enter the server hostname supplied by the hosting provider.
  4. Enter the FTP username created in cPanel.
  5. Enter the FTP password.
  6. Select the secure connection method supported by the host. Prefer SFTP or FTP over TLS/FTPS where available.
  7. Enter the port specified by the host. Port 21 is conventional for FTP/FTPS; SFTP commonly uses 22, but your provider may use another port.
  8. Click Connect .
  9. Check that the remote directory is the correct website document root.

Step-by-Step: Upload the Website Through FTP

1. Open Local Site
β†’
2. Open Remote Site
β†’
3. Select Files
β†’
4. Upload
β†’
5. Verify
  1. In FileZilla, use the left side to locate the website folder on your computer.
  2. Use the right side to open the website's document root on the server.
  3. Select index.html , CSS, JavaScript, image folders and any required PHP files.
  4. Drag the selected files from the local side to the remote side.
  5. Monitor the transfer queue until the files are transferred successfully.
  6. Open the remote directory and confirm the same folder structure exists.
  7. Open the domain in a browser and test the website.

FTP Upload Process

    [YOUR COMPUTER]
          |
          | Secure FTP / SFTP
          v
    [FILEZILLA]
          |
          v
    [HOSTING SERVER]
          |
          v
    [WEBSITE DOCUMENT ROOT]
          |
          +-- index.html
          +-- css/
          +-- js/
          +-- images/
          +-- PHP files
Security note: cPanel documents SFTP as a secure alternative. If the hosting provider supports SFTP or FTP over TLS, use the secure option rather than transmitting credentials over plain FTP.

Step-by-Step Website Upload Procedure

  1. Prepare the website: test the website locally and check that links, images and scripts work.
  2. Organize the files: keep HTML, CSS, JavaScript, images and other resources in the correct folders.
  3. Access the hosting account: use the hosting control panel, file manager or an appropriate file-transfer method.
  4. Open the web root: locate the directory configured to contain the public website files.
  5. Upload the files: transfer the website files while maintaining the required folder structure.
  6. Check the default page: confirm that the appropriate homepage file is present and correctly named.
  7. Test the domain: open the domain in a browser and test all important pages.
  8. Correct errors: investigate missing files, incorrect paths, permissions or server configuration problems.
Important: Never upload sensitive credentials, private keys or confidential files into a public website directory unless they are specifically protected and required by the application architecture.

7. Hosting Control Panel

A hosting control panel provides a graphical interface for managing common hosting tasks. Depending on the hosting provider, the available features may include file management, domains, databases, email, backups, security and software configuration.

Web hosting management dashboard

Hosting Dashboard

A control interface can bring common hosting management functions together in one place.

Website source code

Website Files

Hosting file managers allow administrators to organize website files and folders on the server.

Common Control-Panel Tasks

File Management

Upload, download, rename, move and remove website files.

Domain Management

Add domains and configure domain-related hosting settings.

Database Management

Create databases and database users and manage supported database services.

Backups

Create or restore backups where the hosting plan provides the feature.

8. Website Files and Databases

Static websites may consist mainly of HTML, CSS, JavaScript and media files. Dynamic websites often also use server-side code and databases to generate or store changing information.

Typical Website Structure

    website/
    β”œβ”€β”€ index.html
    β”œβ”€β”€ about.html
    β”œβ”€β”€ contact.html
    β”œβ”€β”€ css/
    β”‚   └── style.css
    β”œβ”€β”€ js/
    β”‚   └── script.js
    β”œβ”€β”€ images/
    β”‚   β”œβ”€β”€ logo.png
    β”‚   └── banner.jpg
    └── uploads/

Database Example

A database can store information that should not be hard-coded into every webpage. For example, a school website might store student records, announcements or user accounts in structured database tables.

Example: A login page sends user information to the server. The server-side application checks the submitted details against the appropriate database records and then returns a suitable response.

9. PHP and MySQL: Creating a Database and Connecting PHP

Dynamic websites can use PHP to process requests and MySQL to store structured information. The PHP application connects to the database using the database host, database name, database username and password supplied by the hosting environment.

Part A β€” Create a MySQL Database

Example cPanel MySQL Database Wizard

Example Screenshot: MySQL Database Wizard

The screenshot illustrates the first stage of creating a database. Current cPanel versions may label this tool Database Wizard.

  1. Log in to cPanel.
  2. Open Database Wizard or MySQL Database Wizard under Databases .
  3. Enter a database name such as sakim_web .
  4. Click Next Step .
  5. Create a database user such as sakim_user .
  6. Generate a strong database password and keep it private.
  7. Click the button to create the user.
  8. Assign the user to the database.
  9. Select the privileges the application actually requires.
  10. Finish the wizard.
  11. Record the exact database name and username displayed by cPanel, including any automatic account prefix.
Example: cPanel may turn sakim_web into sam123_sakim_web and sakim_user into sam123_sakim_user . Use the exact names shown in your account.

Part B β€” Import the Database Tables

  1. Open phpMyAdmin from cPanel.
  2. Select the database you created.
  3. If you have an SQL backup file, choose Import .
  4. Select the SQL file and start the import.
  5. Wait for the import to complete.
  6. Confirm that the required tables appear.
Important: cPanel recommends its Database/MySQL Database Wizard for creating the database and database user. phpMyAdmin is intended for managing database contents and importing SQL data.

Part C β€” Connect PHP to MySQL

Create a PHP configuration file such as config.php . The following is a teaching example. Replace the placeholders with the real values from your hosting account.

Example PHP Database Connection

    <?php
    
    mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
    
    $dbHost = "localhost";
    $dbUser = "CPANELPREFIX_sakim_user";
    $dbPass = "YOUR_DATABASE_PASSWORD";
    $dbName = "CPANELPREFIX_sakim_web";
    
    $db = new mysqli($dbHost, $dbUser, $dbPass, $dbName);
    $db->set_charset("utf8mb4");
    
    echo "Database connection successful.";
    
    ?>

PHP's mysqli extension provides the connection interface used in this example. PHP documentation shows that the connection accepts values including hostname, username, password and database name.

Part D β€” Test the PHP Connection

  1. Upload config.php to the server.
  2. Create a temporary db-test.php page that includes the connection file.
  3. Open the test page through the website domain.
  4. If the connection succeeds, confirm that the success message appears.
  5. If it fails, check the database host, database name, database username, password and user privileges.
  6. Check the PHP version and ensure the mysqli extension is available in the hosting environment.
  7. After testing, remove or protect the test page so that it cannot expose database information.

How PHP Connects to MySQL

    [BROWSER]
        |
        | HTTPS request
        v
    [PHP APPLICATION]
        |
        | mysqli connection
        v
    [MYSQL DATABASE]
        |
        | query result
        v
    [PHP APPLICATION]
        |
        | HTML response
        v
    [BROWSER]
Protect credentials: never display the database password in a webpage and never place real credentials in a publicly accessible test file.

10. Web Hosting Security

Web hosting security protects websites, server accounts, applications and stored information from unauthorized access, malicious modification, data loss and service disruption.

Strong Authentication

Use strong, unique credentials and multi-factor authentication where available.

Software Updates

Keep supported server software, applications, themes and extensions updated according to a controlled maintenance process.

Least Privilege

Give accounts only the permissions needed to perform their legitimate tasks.

Backups

Maintain appropriate backups and periodically verify that restoration works.

Security Procedure

  1. Identify important website files, databases and accounts.
  2. Identify possible vulnerabilities and unauthorized-access risks.
  3. Use strong authentication and appropriate access controls.
  4. Keep the hosting environment and website software maintained.
  5. Use HTTPS and suitable security controls.
  6. Monitor logs and unusual activity where the hosting environment permits.
  7. Maintain and test backups.
  8. Respond promptly and systematically to security incidents.
Security rule: Do not share hosting passwords or administrative credentials with unauthorized people.

11. SSL/TLS and HTTPS

HTTPS is HTTP carried over a secure TLS connection. It helps protect web traffic against unauthorized observation or modification while the connection is being established and used correctly.

Example: When a website uses HTTPS, the browser establishes a TLS-protected connection before exchanging the application's HTTP data.
Example cPanel SSL TLS Manager

Example Screenshot: SSL/TLS Manager

The screenshot shows the SSL/TLS Manager and Manage SSL Sites option. Current cPanel versions may use a unified SSL/TLS Certificates interface.

Step-by-Step: Installing SSL/HTTPS in cPanel

Most modern shared-hosting environments use an automated certificate system such as AutoSSL . The exact certificate authority and controls depend on the hosting provider.

  1. Confirm the domain: make sure the domain has been added to the hosting account.
  2. Confirm DNS: make sure the domain resolves to the correct hosting service.
  3. Open SSL/TLS: find SSL/TLS or SSL/TLS Certificates under Security.
  4. Check certificate status: if AutoSSL is enabled, the server may automatically request and install a certificate for the domain.
  5. Run AutoSSL if available: use the provider's AutoSSL control when it is available for your account.
  6. Manual installation: if a certificate is supplied manually, use Manage SSL Sites and enter the certificate information as required by the provider.
  7. Test HTTPS: open https://yourdomain.com .
  8. Check the certificate: verify that the domain is covered and the certificate is valid.
  9. Enable Force HTTPS Redirect: after HTTPS works, enable the hosting provider's redirect option where available.
  10. Test all pages: verify that images, scripts, forms and other resources load correctly over HTTPS.
Important: certificates apply to specific domain names. If visitors use both example.com and www.example.com , make sure the certificate covers both names.

Basic HTTPS Deployment Process

1. Prepare Domain
β†’
2. Obtain Certificate
β†’
3. Configure Server
β†’
4. Test HTTPS
β†’
5. Redirect HTTP Where Appropriate

Why HTTPS Matters

  • It helps protect information exchanged between a browser and the website.
  • It authenticates the website through certificate-based mechanisms when certificate validation succeeds.
  • It is important for protecting login sessions and other sensitive web traffic.

11. Web Hosting Troubleshooting

Web hosting troubleshooting is a systematic process of identifying why a website or hosting service is not behaving as expected, applying an appropriate correction and verifying the result.

1. Identify Problem
β†’
2. Check Domain/DNS
β†’
3. Check Files
β†’
4. Check Server/Application
β†’
5. Fix & Verify

Common Problems and Checks

Problem Possible Cause First Checks
Website not loading DNS, server, network or configuration problem. Check domain resolution, hosting status and server response.
404 error Requested file or route cannot be found. Check URL, filename, path and application routing.
500 error Server-side application or configuration problem. Check application configuration and available server logs.
Images missing Incorrect file path or missing uploaded files. Check filenames, folders and case sensitivity.
Database error Connection or database configuration problem. Check database name, credentials and server configuration.

Detailed Troubleshooting Procedure

  1. Describe exactly what the visitor sees.
  2. Determine whether the problem affects one page or the whole website.
  3. Check the domain and DNS configuration.
  4. Check whether the hosting server and account are available.
  5. Check website files, folder structure and file paths.
  6. Check application configuration and database connectivity when applicable.
  7. Review relevant server or application logs when available.
  8. Apply the smallest appropriate correction.
  9. Test the website again from an appropriate environment.
  10. Document the cause and solution.

13. Practical Activities

Activity 1: Host a Complete Website

Objective: publish a working website using a domain, cPanel, FTP, PHP/MySQL and HTTPS.

  1. Prepare and test the website locally.
  2. Register or obtain a test domain.
  3. Add the domain to cPanel.
  4. Identify the domain's document root.
  5. Create a restricted FTP account.
  6. Connect using FileZilla through a secure FTP method supported by the host.
  7. Upload the website files.
  8. Create a MySQL database and database user.
  9. Assign the appropriate database privileges.
  10. Import the application's SQL tables if required.
  11. Update the PHP configuration with the correct database details.
  12. Test PHP-to-MySQL communication.
  13. Install or verify the SSL certificate.
  14. Enable HTTPS redirect after confirming HTTPS works.
  15. Test the complete website and document the final result.

Complete Web Hosting Practical

    WEBSITE ON COMPUTER
            |
            v
    ADD DOMAIN IN CPANEL
            |
            v
    CREATE FTP ACCOUNT
            |
            v
    UPLOAD WEBSITE
            |
            +-------------------+
            |                   |
            v                   v
    CREATE MYSQL DB       INSTALL SSL
            |                   |
            v                   v
    CONNECT PHP           ENABLE HTTPS
            |                   |
            +---------+---------+
                      |
                      v
                LIVE WEBSITE

Activity 2: Create an FTP Account

Create a restricted FTP account for a test website. Record the username, directory and connection method without exposing the password.

Activity 3: Upload Through FileZilla

Connect to the test server, upload a complete website and verify that every file and folder appears in the correct document root.

Activity 4: Create a MySQL Database

Use the cPanel Database Wizard to create a database, a database user and suitable privileges. Confirm the database appears in the database management interface.

Activity 5: Connect PHP to MySQL

Create a PHP connection file using mysqli, test the connection and document the cause of any error encountered.

Activity 6: Install and Test SSL

Enable the available SSL certificate for the test domain, verify HTTPS in a browser and test whether all major website resources load correctly over HTTPS.

Activity 7: Full Troubleshooting Exercise

Create one controlled fault such as a wrong document root, missing image, incorrect database password or incorrect DNS setting. Follow the troubleshooting procedure, correct the fault and document the solution.

14. Visual Step-by-Step Server Hosting Guide

Use this section as a practical classroom guide. Each step has an example screenshot beside it. These are real interface screenshots from public hosting/tutorial resources ; cPanel layouts can differ by hosting provider and version. Current cPanel documentation confirms that providers can enable or disable individual interfaces, and the current Domains interface is version-dependent. ξˆ€citeξˆ‚turn0search0ξˆ‚turn0search3

Recommended classroom rule: never publish real hosting usernames, passwords, database credentials or private server addresses in notes, screenshots or student submissions.

A. Creating and Connecting a Domain

Follow these steps to add an already-registered domain to cPanel and prepare its document root.

Step 1: Open cPanel and select Domains

Log in to your hosting account and open the Domains interface. The exact menu can vary because the hosting provider controls which cPanel features are enabled.

Example cPanel Domains screen Example cPanel domain-management screen.

Step 2: Click Create a New Domain

Choose Create a New Domain to open the domain creation form.

Example Create a New Domain screen Example of the Create a New Domain form.

Step 3: Select Registered Domain

For a domain that you already own, choose Registered Domain when that option is available.

Example registered domain option Example domain-type controls.

Step 4: Enter the domain name

Type the complete domain name, for example schooldemo.com. Do not add spaces.

Example domain field Example domain text field.

Step 5: Choose the document root

For a separate website, use a separate document-root directory when the hosting provider allows it. A common example is public_html/schooldemo.com.

Example document root settings Example document-root controls.

Step 6: Submit the domain

Click Submit or Submit and Create Another. Confirm that the domain appears in the Domains list.

Example Submit button Example of the domain creation form.

Step 7: Open the document root

Use the domain's Document Root link to open its files in File Manager. cPanel's Domains interface can link directly to the document root.

Example cPanel File Manager Example File Manager entry point.

Step 8: Configure DNS

Point the domain's DNS to the hosting service using the nameservers or DNS records supplied by the hosting provider.

Example domain management screen The exact DNS interface depends on the hosting provider.

Step 9: Wait for DNS propagation

DNS changes may take time to reach different nameservers. Test the domain again after the records have propagated.

Example domain screen The screenshot is an interface example; DNS propagation itself is not shown.

Step 10: Verify the website address

Open the domain in a browser and confirm that it reaches the expected hosting account/document root.

Example hosting file location Confirm the website files are in the correct document root.

B. Creating an FTP Account

Create a restricted FTP account that can access only the website directory it needs.

Step 1: Open FTP Accounts

In cPanel, open FTP Accounts under the Files section.

Example cPanel FTP Accounts Example FTP Accounts interface.

Step 2: Enter the FTP login name

Enter a descriptive username such as website. cPanel may combine it with the selected domain.

Example FTP username field Example FTP login field.

Step 3: Select the domain

Choose the domain whose files the FTP account should manage.

Example FTP domain selector Example domain selection.

Step 4: Create a strong password

Enter and confirm a strong password or use the password generator if provided.

Example FTP password fields Example password controls.

Step 5: Set the directory

Set the FTP account's directory to the website's required folder. Limiting the directory reduces unnecessary access to other files.

Example FTP directory field Example directory field.

Step 6: Set the quota

Choose an appropriate disk quota if the server supports FTP quotas. Some servers do not support this setting.

Example FTP quota field Example quota control.

Step 7: Create the account

Click Create FTP Account and confirm that the new account appears in the FTP Accounts table.

Example Create FTP Account button Example account creation controls.

Step 8: Record the connection details

Record the FTP hostname, username, password and connection method securely. Never publish the password.

Example FileZilla connection fields Example connection-information screen.

C. Connecting FileZilla to the Server

Use the FTP/SFTP credentials supplied by the hosting provider and choose the secure protocol supported by the server.

Step 1: Open FileZilla Site Manager

Start FileZilla and open Site Manager so you can create a saved connection profile.

Example FileZilla Site Manager Example FileZilla Site Manager.

Step 2: Create a new site profile

Create a new entry and give it a descriptive name such as School Demo Website.

Example FileZilla profile Example Site Manager profile.

Step 3: Enter the host

Type the FTP/SFTP hostname supplied by your hosting provider.

Example FileZilla Host field Enter the server hostname supplied by your host.

Step 4: Choose the secure protocol

Use SFTP or FTP over TLS/FTPS when the hosting provider supports it. Do not assume that every host supports the same protocol.

Example FileZilla protocol selector Example protocol/encryption controls.

Step 5: Enter the port

Use the port supplied by your host. FTP/FTPS commonly uses 21 and SFTP commonly uses 22, but the provider may use a different port.

Example FileZilla port field Example port field.

Step 6: Enter username and password

Enter the FTP account created in cPanel. Keep credentials private.

Example FileZilla credentials Example username and password fields.

Step 7: Connect to the server

Click Connect and verify that the remote directory opens successfully.

Example FileZilla connection Example FileZilla connection setup.

Step 8: Open the correct remote folder

Navigate to the website document root before transferring files.

Example cPanel document root Use the correct document root for the domain.

D. Uploading the Website Through FTP

Transfer the website files from the computer to the correct document root and verify the result.

Step 1: Open the local website folder

In FileZilla's Local site pane, locate the website project on your computer.

Example FileZilla local pane Local files appear on the left side in the common FileZilla layout.

Step 2: Open the remote website folder

In the Remote site pane, open the domain's document root.

Example FileZilla remote pane Remote server files appear on the right side.

Step 3: Select the website files

Select index.html or index.php, CSS, JavaScript, image folders and other files required by the website.

Example FileZilla file panes Select the files and folders to transfer.

Step 4: Start the upload

Drag the selected files from the local side to the remote side.

Example cPanel upload interface The image shows the equivalent upload concept in cPanel File Manager.

Step 5: Monitor the transfer queue

Wait until the transfer queue shows successful transfers and investigate failed transfers before testing the site.

Example FileZilla transfer interface Check successful and failed transfers.

Step 6: Verify the remote structure

Confirm that the expected folders and files exist in the server's document root.

Example File Manager Use File Manager to verify the server-side structure.

Step 7: Open the live website

Open the domain in a browser and test the home page, links, images, forms and scripts.

Example domain management The live browser view will depend on the website being hosted.

E. Creating the MySQL Database and Importing Tables

Use cPanel's Database Wizard to create the database and user, then use phpMyAdmin when an SQL import is required. cPanel recommends Database Wizard for the initial database and user setup. ξˆ€citeξˆ‚turn0search4ξˆ‚turn0search6

Step 1: Open Database Wizard

Log in to cPanel and open Database Wizard under Databases. Current cPanel versions use Database Wizard for this workflow.

Example cPanel Database Wizard Example Database Wizard.

Step 2: Enter a database name

Type a short descriptive name such as sakim_web and continue to the next step.

Example new database field Example database-name step.

Step 3: Create the database user

Enter a database username such as sakim_user and create a strong password.

Example database user step Example database-user controls.

Step 4: Assign the user to the database

Select the database and user so that cPanel can associate them.

Example database assignment Example database-user association step.

Step 5: Choose privileges

Grant only the privileges the application requires. A typical application may need SELECT, INSERT, UPDATE and DELETE, depending on what it does.

Example database privileges Example privileges step.

Step 6: Finish the wizard

Complete the wizard and record the exact database name and username. cPanel may automatically add an account prefix.

Example Database Wizard Record the final names exactly as cPanel displays them.

Step 7: Open phpMyAdmin

Open phpMyAdmin from cPanel and select the database you created.

Example database-management interface Use phpMyAdmin to manage database contents.

Step 8: Import SQL tables

If your application has an SQL backup, use phpMyAdmin's Import function to load the tables into the selected database.

Example database interface Import the application's SQL file when required.

F. Connecting PHP to MySQL

The screenshots show the server/file-management context. The actual PHP connection is performed by the code in your PHP application using the database details created in cPanel.

Step 1: Create the PHP configuration file

Create a server-side configuration file such as config.php. Keep real credentials private.

Example server file transfer Upload the configuration file only to the required application directory.

Step 2: Set the database host

Use the database hostname supplied by the hosting environment. Many shared-hosting examples use localhost, but you must follow the host's instructions.

Example database configuration context The actual database host depends on the server.

Step 3: Enter the database name

Use the exact database name shown in cPanel, including any account prefix.

Example database setup Use the exact cPanel database name.

Step 4: Enter the database username and password

Use the exact database user and password created in Database Wizard. Never expose the password in HTML or public output.

Example database-user setup Use the exact credentials created for the application.

Step 5: Create the mysqli connection

Use PHP's mysqli interface to connect to MySQL/MariaDB, then set the connection character set such as utf8mb4.

Example PHP website files The PHP code belongs on the server; this screenshot is a file-management example.

Step 6: Create a temporary database test

Create a protected temporary PHP test page that checks whether the connection succeeds.

Example PHP files on server Create the test file only for controlled testing.

Step 7: Test the page

Open the test page in the browser and verify that the connection succeeds.

Example website domain The actual test result depends on your server and credentials.

Step 8: Remove the test page

After testing, remove or protect the test page so it cannot expose database information.

Example File Manager Remove temporary diagnostic files after testing.

G. Installing SSL and Enabling HTTPS

Secure the domain after DNS and hosting are working. cPanel's SSL/TLS tools manage certificates, while AutoSSL availability depends on the hosting provider. ξˆ€citeξˆ‚turn0search2ξˆ‚turn0search9

Step 1: Confirm the domain is working

Before installing a certificate, confirm the domain is added to the hosting account and DNS points to the correct service.

Example cPanel domain screen Verify the domain configuration first.

Step 2: Open SSL/TLS

In cPanel, open SSL/TLS or SSL/TLS Certificates under Security.

Example SSL/TLS Manager Example SSL/TLS interface.

Step 3: Check certificate availability

If your host provides AutoSSL, check whether the certificate is already being issued or installed automatically.

Example SSL/TLS Manager AutoSSL availability depends on the hosting provider.

Step 4: Use AutoSSL when provided

Run or allow the hosting provider's AutoSSL process to request and install an eligible certificate.

Example SSL/TLS interface The exact AutoSSL controls vary by provider.

Step 5: Use manual installation when required

If you received a certificate from a certificate authority, use the SSL/TLS installation controls provided by the host.

Example SSL/TLS Manager Manual certificate installation is available on supported configurations.

Step 6: Verify HTTPS

Open https://yourdomain.com and check that the certificate is valid for the domain.

Example SSL/TLS interface Verify the installed certificate.

Step 7: Enable Force HTTPS Redirect

After HTTPS works, use the domain's Force HTTPS Redirect control where the hosting environment provides it.

Example cPanel Domains screen cPanel's Domains interface can provide a Force HTTPS Redirect control.

Step 8: Test the complete website

Check pages, images, CSS, JavaScript, forms and other resources for HTTPS or mixed-content problems.

Example domain screen Final website testing must be performed on the live domain.

Complete Picture-by-Picture Workflow

    1. DOMAIN
       ↓
    2. CPANEL DOMAINS
       ↓
    3. DOCUMENT ROOT
       ↓
    4. FTP ACCOUNT
       ↓
    5. FILEZILLA
       ↓
    6. UPLOAD WEBSITE
       ↓
    7. MYSQL DATABASE
       ↓
    8. PHPMYADMIN
       ↓
    9. PHP β†’ MYSQL CONNECTION
       ↓
    10. SSL/TLS
       ↓
    11. HTTPS
       ↓
    12. LIVE WEBSITE

15. Host a Website from Scratch β€” Complete Beginner Procedure

This lesson starts at the very beginning: switch on the computer β†’ open the browser β†’ find the hosting provider β†’ log in β†’ add the domain β†’ create the FTP account β†’ upload the website β†’ create MySQL β†’ connect PHP β†’ install SSL β†’ test the live website.

Important for students: the screenshots below are example interface screenshots from public tutorials/resources. Your browser, hosting company and cPanel version may look different. The buttons and fields may also have different names. Follow the same function rather than expecting an identical screen.
Complete route: Computer β†’ Browser β†’ Hosting Provider β†’ cPanel Login β†’ Domains β†’ DNS β†’ File Manager/FTP β†’ Website Files β†’ MySQL β†’ PHP β†’ SSL β†’ HTTPS β†’ Live Website

1 Start the computer

Switch on the computer and wait for Windows to finish loading. Make sure the computer has an active internet connection before starting the hosting procedure.

Example web browser Example browser-opening visual. Your installed browser may be Chrome, Edge, Firefox or another browser.

2 Open the web browser

Click the browser icon on the desktop, taskbar or Start menu. The browser is the program you will use to access the hosting provider, cPanel and the live website.

Example browser window Example browser interface.

3 Open a search engine

Click the address/search bar at the top of the browser. Type the name of your chosen hosting provider or type a search such as cPanel hosting provider , then press Enter. For a real classroom deployment, use the hosting provider supplied by your institution.

Example browser search Example browser/search interface; use your own chosen hosting provider.

4 Open the hosting provider's website

Select the official hosting provider website. Check the spelling of the address before entering account credentials. Avoid entering passwords into links received from unknown sources.

Example web search Use the official hosting provider website.

5 Sign in to the hosting account

Click the provider's Login/Client Area button and enter the hosting username/email and password. Complete any multi-factor authentication requested by the provider.

Example hosting control panel Example hosting/cPanel environment.

6 Open cPanel

From the hosting account dashboard, open cPanel if the provider offers cPanel. Some hosts use another control panel, so the exact screen may differ.

Example cPanel dashboard Example cPanel environment.

7 Find the Domains tool

Scroll to or search the cPanel interface for Domains . This is where a registered domain can be added and its document root managed.

Example cPanel Domains interface Example Domains interface.

8 Add the registered domain

Click Create a New Domain or the equivalent option. Enter the domain you already own, for example schooldemo.com . Choose a separate document root if this is a separate website and your host supports it.

Example Create a New Domain form Example domain-creation form.

9 Submit the domain

Review the domain name and document-root settings, then click Submit . Confirm that the domain appears in the Domains list.

Example domain form Example domain-management interface.

10 Configure DNS

Go to the DNS management area specified by your registrar/host. Enter the nameservers or DNS records supplied by the hosting provider. The exact DNS screen depends on where the domain is registered.

Example domain management Example domain-management interface; DNS controls vary by provider.

11 Wait for DNS to become available

Allow time for the DNS change to propagate. During this period, one network may resolve the new server while another still has older information. Do not repeatedly change records without checking the provider's instructions.

Example domain interface Example domain-management screen.

12 Open File Manager

Return to cPanel and open File Manager . Use the domain's document root so the website files are placed in the directory that serves that domain.

Example cPanel File Manager Example File Manager interface.

13 Locate the website document root

Find the folder assigned to the domain. For a common cPanel main domain this may be public_html ; an additional domain may have its own directory. Confirm the exact path in the Domains interface.

Example cPanel File Manager Example server file structure.

14 Create an FTP account

Return to cPanel β†’ FTP Accounts . Enter a username, select the domain, create a strong password and restrict the directory to the website folder when appropriate.

Example cPanel FTP Accounts Example FTP Accounts form.

15 Record FTP connection details

Keep the FTP hostname, username, password and secure connection method in a safe place. Prefer SFTP or FTP over TLS/FTPS when your hosting provider supports it.

Example FTP account Example FTP account settings.

16 Open FileZilla

Install/open FileZilla on the computer. Open Site Manager to create a server connection profile.

Example FileZilla Example FileZilla Site Manager.

17 Enter the server host

In FileZilla Site Manager, enter the FTP/SFTP hostname provided by the hosting company.

Example FileZilla Site Manager Example host field.

18 Select the secure protocol

Choose the secure protocol supported by the host, such as SFTP or FTP over TLS. Do not guess if the provider gives specific connection instructions.

Example FileZilla protocol settings Example protocol/encryption controls.

19 Enter port, username and password

Enter the port specified by the host, followed by the FTP username and password created earlier. FTP/FTPS commonly uses port 21 and SFTP commonly uses port 22, but the provider may use different settings.

Example FileZilla connection fields Example connection fields.

20 Connect to the server

Click Connect . When the connection succeeds, FileZilla displays local files and remote server files.

Example FileZilla connection Example FileZilla connection screen.

21 Open the remote document root

On the remote/server side, navigate to the website document root. Make sure you are not uploading into an unrelated directory.

Example FileZilla remote files Example remote-file pane.

22 Find the website on the computer

On the local side, open the folder containing the website. It should contain files such as index.html or index.php , plus CSS, JavaScript and image folders as required.

Example FileZilla local files Example local-file pane.

23 Select the website files

Select all files and folders required by the website. Do not forget folders such as css , js , images or server-side application files.

Example FileZilla files Example local and remote panes.

24 Upload the files

Drag the selected website files from the local side to the remote side. FileZilla begins transferring them to the server.

Example upload interface Example upload-control visual.

25 Wait for transfers to finish

Watch the transfer queue. Investigate failed transfers instead of assuming the website uploaded completely.

Example FileZilla transfer queue Check the transfer results.

26 Verify the files on the server

Open File Manager or the remote FileZilla folder and verify that index.html /index.php and the required folders are present in the correct document root.

Example File Manager Verify the server-side file structure.

27 Open the database tools

Return to cPanel and locate Database Wizard under Databases.

Example cPanel Database Wizard Example Database Wizard.

28 Create the database

Enter a database name such as sakim_web and continue. cPanel may add an account prefix to the final database name.

Example database creation Example Database Wizard.

29 Create the database user

Create a database user such as sakim_user and generate a strong password. Keep this password private.

Example database user Example database-user step.

30 Assign the user to the database

Select the newly created user and database, then assign the required privileges. Grant only the permissions needed by the application.

Example database privileges Example privilege-selection step.

31 Open phpMyAdmin

After the database exists, open phpMyAdmin from cPanel to manage its tables and import an SQL backup if your application requires one.

Example database management Example database-management workflow.

32 Import the SQL file

Select the correct database, choose Import , select the application's SQL file and start the import. Confirm that the expected tables appear after completion.

Example database interface Example SQL/database management visual.

33 Create the PHP connection file

In your PHP application, create a protected configuration file such as config.php . Use the exact database name and username shown in cPanel.

Example PHP website files PHP files are transferred to the server through the file-management process.

34 Enter the database connection details

A typical mysqli connection uses the database host, username, password and database name. Many shared-hosting examples use localhost , but use the hostname specified by your hosting provider.

Example database setup Example database configuration context.

35 Upload the PHP configuration

Upload the PHP application files and the protected configuration file to the server. Never place database passwords in public HTML or expose them in a test page.

Example File Manager Example server file-management interface.

36 Test PHP-to-MySQL

Open a controlled test page through the domain. If it fails, check the host, database name, username, password, privileges and PHP MySQL extension.

Example domain/hosting screen The actual test result depends on your hosting environment.

37 Open SSL/TLS tools

Return to cPanel and open SSL/TLS or SSL/TLS Certificates under Security.

Example cPanel SSL/TLS Manager Example SSL/TLS management interface.

38 Check AutoSSL

If your hosting provider enables AutoSSL, check whether a certificate has already been issued for the domain or whether an AutoSSL action is available.

Example SSL/TLS Manager AutoSSL availability depends on the host.

39 Install the certificate when required

If manual installation is required, use the provider's SSL/TLS installation controls and enter the certificate information supplied by the certificate authority.

Example SSL/TLS Manager Example SSL/TLS installation interface.

40 Open the website using HTTPS

Type https://schooldemo.com into the browser and verify that the certificate is valid for the domain.

Example SSL/TLS interface Example certificate-management visual.

41 Enable HTTPS redirection

After HTTPS works, enable the hosting provider's Force HTTPS Redirect or equivalent setting so visitors are directed to the secure address.

Example cPanel Domains screen Example domain controls; the exact redirect option varies by cPanel version/provider.

42 Test every part of the website

Check the homepage, links, images, CSS, JavaScript, forms, PHP pages and database-driven functions. Look for broken resources or mixed-content warnings.

Example browser Final testing is performed in the browser.

43 Secure and clean up

Remove temporary database-test pages and unused files. Store passwords securely, keep software updated and make regular backups.

Example File Manager Use File Manager to remove temporary files after testing.

Final Deployment Map

    COMPUTER
       |
       v
    OPEN BROWSER
       |
       v
    HOSTING PROVIDER
       |
       v
    LOGIN TO CPANEL
       |
       +----> ADD DOMAIN ----> DNS
       |
       +----> FTP ACCOUNT ----> FILEZILLA
       |                         |
       |                         v
       |                    UPLOAD FILES
       |
       +----> DATABASE WIZARD --> MYSQL
       |                           |
       |                           v
       |                       PHPMYADMIN
       |
       +----> PHP CONFIG ------> PHP ↔ MYSQL
       |
       +----> SSL/TLS ---------> HTTPS
                                  |
                                  v
                             LIVE WEBSITE
Student practical check: The student should be able to demonstrate the entire process without skipping the browser/login stage: open browser β†’ access hosting account β†’ open cPanel β†’ add domain β†’ configure DNS β†’ create FTP account β†’ connect FileZilla β†’ upload website β†’ create MySQL β†’ connect PHP β†’ install SSL β†’ test HTTPS.

πŸ“ Web Hosting Exam

Each new exam selects and shuffles questions from the Web Hosting question bank, including domain, FTP, FileZilla, MySQL, PHP and SSL procedures.

πŸ’Ύ Saved Exams and Results