Let's Encrypt Beginner Free course, 4 parts
Domains, DNS and HTTPS
Understand how a name becomes a secure site: records, caching, certificates and redirects.
For anyone who has fought with DNS or a certificate error.
- 22 lessons
- 5h 8m total time
- 2 hands-on labs
- 2 diagrams
- 22 quizzes
Course complete
You finished Domains, DNS and HTTPS
All 22 lessons done on . Share it, print the certificate, or start the next course below.
Levelrail Learn Certificate of completion Completed Domains, DNS and HTTPS on Levelrail Learn 22 lessons, 5h 8m of guided practice levelrail.com/learn/courses/domains-dns-https/
What you will be able to do
- Read and write DNS records
- Explain caching and propagation
- Issue and renew certificates
- Harden HTTPS and fix redirects
Syllabus
22 lessons in 4 parts, 5h 8m in total
Part 1
Lessons 1 to 6
6 lessons, 1h 37m 0/6- Point a domain at your server (A record) Up next Done A domain points at a server through a DNS A record that maps the name to the server's IPv4 address. 16 min Beginner Lab Quiz
- DNS record types explained (A, CNAME, MX, TXT) Up next Done DNS records are entries in a domain's zone that map a name to an address or a service; the record type says what kind of answer it is. 12 min Beginner Diagram Quiz
- HTTPS and Let's Encrypt: get a free certificate Up next Done HTTPS is HTTP over TLS; a certificate proves the server owns the domain, and Let's Encrypt issues them for free through an automated check. 22 min Beginner Lab Diagram Quiz
- Redirect www to the bare domain (non-www redirect) Up next Done A www redirect sends every request for www.example.com to example.com with a 301 status, so each page has one address. 15 min Beginner Quiz
- Redirect HTTP to HTTPS (nginx and Caddy) Up next Done An HTTP to HTTPS redirect answers requests on port 80 with a permanent redirect to the same address on port 443, so visitors end up on the encrypted site. 18 min Beginner Quiz
- Wildcard certificates explained (*.example.com) Up next Done A wildcard certificate such as "*.example.com" secures every single-level subdomain of a domain with one certificate. 14 min Beginner Quiz
Part 2
Lessons 7 to 12
6 lessons, 1h 32m 0/6- Inspect a TLS certificate with OpenSSL Up next Done openssl s_client connects to a TLS server and prints its certificate, and openssl x509 decodes that certificate into readable fields. 14 min Beginner Quiz
- Check DNS records with dig Up next Done dig is a command line tool that asks a DNS server for the records of a domain, so you can see what the internet will resolve it to. 14 min Beginner Quiz
- DNS propagation and TTL explained Up next Done DNS propagation is the delay while resolvers around the world keep serving a cached old answer until its TTL runs out. 14 min Beginner Quiz
- Nginx reverse proxy with free HTTPS using certbot Up next Done An nginx reverse proxy receives requests on ports 80 and 443 and forwards them to your app on a local port, and certbot adds the HTTPS certificate. 22 min Intermediate Quiz
- Renew Let's Encrypt certificates and test renewal Up next Done Let's Encrypt certificates are valid for 90 days, and certbot renews them automatically through a timer that you can test with a dry run. 14 min Intermediate Quiz
- Automatic HTTPS with Caddy Up next Done Caddy is a web server that requests and renews HTTPS certificates automatically, so a reverse proxy needs only the domain and the app address. 14 min Beginner Quiz
Part 3
Lessons 13 to 18
6 lessons, 1h 11m 0/6- What is a DNS zone? Zones, SOA and NS records Up next Done A DNS zone is the portion of the DNS namespace that one set of nameservers is responsible for, described by a zone file of records starting with an SOA and NS records. 12 min Intermediate Quiz
- TTL and DNS caching explained Up next Done TTL is the number of seconds a DNS answer may be cached, and every layer between you and the authoritative server (resolver, OS, browser) keeps its own copy until that time runs out. 12 min Intermediate Quiz
- DNS propagation myths and what really happens Up next Done DNS propagation is a loose name for caches expiring; nothing is pushed, and an authoritative nameserver already serves the new record the moment you save it. 12 min Intermediate Quiz
- Subdomains and wildcard DNS records explained Up next Done A subdomain is a name below your domain with its own DNS records, and a wildcard record (*.example.com) answers for names that have no explicit record at that level. 10 min Beginner Quiz
- CNAME flattening and ALIAS records explained Up next Done CNAME flattening, ALIAS and ANAME are provider features that let the bare domain act like a CNAME by resolving the target hostname on the server side and answering with plain A or AAAA records. 10 min Intermediate Quiz
- How TLS certificates are issued (ACME, HTTP-01, DNS-01) Up next Done A TLS certificate is issued through ACME: your client proves it controls the domain by answering a challenge (HTTP-01, DNS-01 or TLS-ALPN-01), then submits a CSR and downloads the signed certificate. 15 min Intermediate Quiz
Part 4
Lessons 19 to 22
4 lessons, 48 min 0/4- Certificate chains and intermediates explained Up next Done A certificate chain links your server's leaf certificate through one or more intermediate certificates to a root certificate that clients already trust, and the server must send everything except the root. 12 min Intermediate Quiz
- HSTS explained: the Strict-Transport-Security header Up next Done HSTS is the Strict-Transport-Security response header that tells a browser to only connect to your site over HTTPS for a set number of seconds, even if a link or user types http. 12 min Intermediate Quiz
- Mixed content explained and how to fix it Up next Done Mixed content is an HTTPS page that loads some resources, such as scripts, images or frames, over plain HTTP, which browsers block or upgrade because it weakens the page's security. 12 min Intermediate Quiz
- TLS versions and ciphers in plain language Up next Done A TLS version is the revision of the protocol that secures a connection, and a cipher suite is the set of algorithms it uses; today you should allow TLS 1.2 and 1.3 and disable older versions. 12 min Intermediate Quiz