← Servers, deploying and APIs

Lesson 8 of 20 · Learn · 8 min

2.1 Deploying: how a website gets onto a server

Deploying means putting a website or app on a server so people can reach it.

What happens when someone opens your domain

  1. DNS turns the domain into your server's IP address.
  2. The visitor's browser connects to your server on port 80 (http) or 443 (https).
  3. nginx, the web server, sees which domain was asked for.
  4. It sends files (a website), or passes the visit to an app running on the server.
  5. HTTPS (the padlock) protects everything sent. It needs a certificate, which is free.

Two ways to deploy in this module

HowGood for
Move a Lynk website to your serverOne click in Lynk; Lynk installs it and keeps it updatedWebsites built on Lynk
By hand, over SSHYou install, copy and run it yourselfYour own pages and apps
Next lesson

Sign in to save your progress and earn the certificate.

1.7 Graded quiz