All work

Entry 02 of 03

Work

Domains & HTTPS

Connect your public domain to the right application

  • DNS
  • Nginx
  • Apache
Read the walkthrough
  1. Resolve the domain
  2. Check the certificate
  3. Load the hosted page

Overview

I connect the hostname to the hosting service, configure HTTPS, and check the application through its public address. For a self-hosted app, this can also involve routing requests through Nginx or Apache.

What it covers

  • Domain mapping
  • HTTPS configuration
  • Web server routing
  • Public endpoint checks

Connect a hostname securely

  1. Find the DNS record your host expects and add it for the domain or subdomain you want visitors to use.
  2. On a self-hosted server, configure Nginx or Apache to route that hostname to your app and install a TLS certificate covering the hostname.
  3. Open the public HTTPS address and verify that the certificate matches the name and the response is your app’s page.