Uni-Sine
Computer ScienceCourses

Hosting & Deployment: a web hosting and deployment course

Hosting & Deployment is an interactive web hosting course that takes a site from your laptop to the live internet. In 30 short sections it covers how requests reach a server, domains and DNS, static and dynamic hosting, deploying from Git, CI/CD pipelines, secrets, Docker containers, HTTPS and keeping an eye on a live site.

It is written for people who can already build a web page and now want it online, safely, with updates that go live every time they push code.

What the web hosting course covers

SectionsTopicWhat you do
1 to 3What hosting is, and how a request reaches a serverFollow a request from browser to DNS to server and back, then put the steps in order
4 to 6Static and dynamic hostingCompare the two, then pick the right type for a scenario
7 to 9Domain names and DNS recordsStep through a DNS lookup and match A, CNAME, MX and TXT records to their jobs
10 to 12Git and Git-based deploymentWatch a git push trigger a deploy, then order the deploy steps
13 to 15CI/CD pipelinesFollow a pipeline from push to deploy and fill in a GitHub Actions workflow
16 to 18Environment variables and secretsSee how secrets move from a .env file to a hosting dashboard, then spot a security mistake in committed code
19 to 21Hosting platforms, PaaS and IaaS, and deploying to VercelCompare platforms and choose one for three projects
22 to 24Docker and containersCompare a virtual machine with a container and build a Dockerfile in the right order
25 to 27SSL/TLS and HTTPSCompare what HTTP and HTTPS send over the wire, then check your knowledge
28 to 30Monitoring, logs and debugging in productionRead a live status dashboard and finish a deployment checklist

From a request to a live site

The first third explains what actually happens when someone types your address. A website is files on a computer; hosting puts them on a server that is always online. The browser asks DNS for the server's IP address, sends an HTTP request and renders the HTML, CSS and JavaScript that come back. You then buy a domain, point it at a server with DNS records, and learn when a site can be static (the same files for everyone) and when it must be dynamic (code runs on each request).

Shipping changes safely

The middle sections cover the habits of a working developer: Git for history, platforms that build and deploy every time you push, CI that runs your tests first, and environment variables that keep API keys out of your code. The course is blunt about the cost of getting this wrong: a key pushed to Git stays in its history, so every exposed key has to be replaced.

Containers, HTTPS and monitoring

The last part covers Docker, which packages an app and everything it needs so it runs the same on any machine, and why a container starts in seconds where a virtual machine takes minutes. It finishes with HTTPS certificates, including free ones from Let's Encrypt, and structured logs you can search when something breaks.

Try a question from the course

Static hosting serves the same pre-built files to every visitor, which makes it cheap and fast. Dynamic hosting runs code on the server for each request, which you need when the page depends on who is asking, such as a dashboard after logging in. Decide which one fits, then press Mark to check your answer in the course.

Pick the right hosting type for a scenario.

Press Mark to have your answer marked in the Hosting & Deployment course.

What you will be able to do

  • Explain each step from typing a URL to seeing a page.
  • Choose static or dynamic hosting, and PaaS or IaaS, for a project.
  • Set up the DNS records that connect a domain to a host.
  • Read and complete a simple GitHub Actions workflow.
  • Keep secrets out of Git and set them on a hosting platform instead.
  • Put the lines of a basic Dockerfile in the right order and say what each does.
  • Check a site is served over HTTPS and work through a pre-launch checklist.

Who this course is for

It suits students who have built a project and want to show it to the world, beginners moving from tutorials to real sites, and anyone who has heard of DNS, CI/CD or Docker and wants a clear picture of how they fit together.

What you need to know first

You should know what HTML, CSS and JavaScript files are. If not, start with the HTML, CSS & JavaScript course. A few sections show terminal commands such as git push and vercel --prod, so it helps to have opened a terminal before, but you can follow the course without running anything.

Is it a cloud computing course?

Partly. It explains Platform as a Service, where the provider runs the servers for you, and Infrastructure as a Service, where you rent a virtual machine and set it up yourself, and it covers containers. It does not teach the services of a particular cloud provider such as AWS, Azure or Google Cloud, or prepare you for their certifications. Think of it as the groundwork that makes those easier.

How long it takes

There are 30 sections, and most take a few minutes: a short explanation and one interactive diagram or question. Learners without a plan can open two sections of a course a day, in order, which takes 15 days. A plan removes the daily limit and lets you jump to any section, such as Docker or HTTPS, straight away.

Guided courseWeb Frameworks & StacksNext.js, React and Express: the frameworks behind most sites you will deploy, including static generation and server rendering.

Common questions

Is this web hosting course free?
You can work through every section without paying, two sections a day, in order. A plan removes the daily limit and lets you open any section first.
Do I need my own server or domain?
No. The course explains servers, domains and platforms with diagrams and practice questions, so you can finish it without buying anything. You will be ready to set one up afterwards.
What is the difference between static and dynamic hosting?
Static hosting serves the same pre-built files to every visitor, with no code running on the server. Dynamic hosting runs code for each request, so it can read a database or show a page for one logged-in user.
Does the course teach Docker?
Yes, three sections. They cover what a container is, how it differs from a virtual machine, and how a Dockerfile is built up line by line, finishing with a practice question where you order the instructions.
What is CI/CD?
Continuous integration runs tests and checks automatically every time code is pushed. Continuous deployment then puts code that passes onto the live site. Together they form a pipeline from a code change to a live update.
Does it cover AWS or Azure?
Not in detail. It explains PaaS and IaaS, compares hosting platforms and walks through deploying to Vercel, which gives you the concepts the big cloud providers build on.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Solve it

    Code Editor

    Write and run code right in your browser

    Open the tool
  • Learn it

    Hosting & Deployment

    Deploy your sites and apps to the real internet with confidence

    Start the course
Read next
Computer Science · CoursesEthical hacking course: web security for beginnersAn ethical hacking course on web security: the law and ethics, how common website weaknesses work, and how developers defend against them, in 26 sections.