SSL Certificate Setup for a Custom Domain: A Deployment and Renewal Checklist
SSLHTTPSTLS certificatescloud serverswebsite security

SSL Certificate Setup for a Custom Domain: A Deployment and Renewal Checklist

wwhata.cloud Editorial Team
2026-12-03
7 min read

A practical checklist for enabling HTTPS on a custom domain, configuring certificates, redirecting HTTP, troubleshooting validation, and testing renewal.

Adding HTTPS to a custom domain on a cloud server is a repeatable deployment task, not a one-time checkbox. This checklist covers certificate selection, DNS validation, web-server configuration, HTTP-to-HTTPS redirects, renewal testing, and the checks to repeat when you add a subdomain or move hosting.

Overview

HTTPS encrypts traffic between a visitor’s browser and your website. It also allows the browser to verify that the certificate was issued for the domain it is visiting. The certificate is used by the web server, while DNS determines where the domain points; both must be configured correctly.

For a typical site hosted on a VPS, the workflow is:

  1. Point the domain or subdomain to the correct server with DNS.
  2. Confirm that the server accepts traffic on the required ports, usually HTTP and HTTPS.
  3. Request a certificate through an ACME-compatible client or hosting control panel.
  4. Configure the web server to use the certificate and its private key.
  5. Redirect HTTP requests to HTTPS after the secure endpoint works.
  6. Test renewal and record how the certificate is installed and reloaded.

Certificate authorities and ACME clients may change defaults, commands, or validation behavior. Treat commands below as a workflow example and check the documentation for the operating system, web server, and ACME client you actually use. Never paste a private key into a ticket, repository, chat, or public configuration file.

If the domain is not yet connected to the server, first review How to Connect a Domain to Web Hosting. That guide covers nameservers, DNS records, and verification before you begin the certificate step.

Checklist by scenario

Scenario 1: A new website on one VPS

  1. List every hostname. Decide whether the certificate must cover example.com, www.example.com, or both. Include only hostnames that will resolve to this service.
  2. Check DNS. Confirm that the A record points to the server’s IPv4 address and that an AAAA record is present only when the server is correctly configured for IPv6. A stale or incorrect AAAA record can send some visitors to the wrong endpoint.
  3. Check the firewall. Allow inbound TCP traffic for HTTP and HTTPS if your validation method or redirect requires it. Also confirm that the cloud provider’s network firewall and the server’s local firewall agree.
  4. Check the virtual host. Configure the web server to answer for the requested hostname. A default site or an unmatched server block can cause validation to reach the wrong application.
  5. Request the certificate. Use an ACME client supported by your distribution and web server. The client may install the certificate automatically, or it may provide certificate paths for you to add to the server configuration.
  6. Test HTTPS before redirecting. Visit each hostname over HTTPS and inspect the certificate name, validity, and served content. Fix certificate or application errors before forcing all traffic to HTTPS.
  7. Enable the redirect. Redirect HTTP to the preferred HTTPS hostname with a permanent redirect when you are confident the destination is correct. Avoid redirect loops caused by conflicting proxy and origin settings.
  8. Verify renewal. Run the ACME client’s renewal simulation or staging test where supported. Confirm that a successful renewal triggers a web-server reload or another installation step.

Scenario 2: Adding a subdomain

Adding app.example.com, api.example.com, or staging.example.com requires a separate review even if the main domain already uses HTTPS.

  • Create the required DNS record and wait for the authoritative DNS response to show the intended target.
  • Add the hostname to the web server’s server block, reverse-proxy configuration, or load-balancer listener.
  • Decide whether to add the name to an existing certificate or request a separate certificate.
  • Check application settings such as allowed origins, callback URLs, cookies, and canonical URLs.
  • Test the subdomain directly rather than assuming the parent domain’s configuration applies.

A wildcard certificate such as *.example.com can cover many one-level subdomains, but it does not automatically cover the bare domain example.com or deeper names such as dev.api.example.com. Wildcard issuance generally requires DNS-based validation, so confirm that your DNS provider or automation can safely create and remove the required validation records.

Scenario 3: Using a reverse proxy, CDN, or load balancer

Identify where TLS terminates. It may terminate at the CDN or load balancer, at the VPS reverse proxy, or at both. If the proxy connects to the origin over HTTPS, the origin also needs a valid certificate and a hostname that the proxy can verify. If the origin sees HTTP while the application assumes HTTPS, configure trusted proxy headers carefully and test for redirect loops, insecure cookies, and incorrect absolute URLs.

Document the full path: visitor to edge service, edge service to load balancer, and load balancer to application. Each hop should have an intentional encryption and certificate policy.

Validation methods at a glance

MethodHow it worksUseful whenWatch for
HTTP-01The ACME client places a token at a path on the domain’s HTTP service.The hostname reaches the server over port 80.Redirects, firewalls, proxies, or multiple servers may prevent the token from being found.
DNS-01The client publishes a temporary TXT record under the domain’s validation name.You need a wildcard certificate or the service is not publicly reachable over HTTP.DNS API permissions, propagation, stale TXT records, and split-horizon DNS.
TLS-ALPN-01The server proves control during a TLS connection using the ACME protocol.Your ACME client and network architecture support this method.Port 443 conflicts with another proxy or service.

What to double-check

Before requesting a certificate

  • The domain is registered and has not expired.
  • Authoritative nameservers are the ones you expect. For DNS troubleshooting, use the DNS Propagation Troubleshooting Guide.
  • Each requested hostname resolves to the intended service from an external network.
  • The web server configuration includes the exact hostname, including or excluding www as intended.
  • Port 80 or 443 is available for the selected validation method.
  • The server clock is accurate and the ACME client has permission to write certificate files.

After installation

  • Open the bare domain and every required subdomain over HTTPS.
  • Inspect the certificate subject or alternative names to confirm hostname coverage.
  • Confirm that the certificate chain is served correctly by the web server.
  • Check that application assets, scripts, images, fonts, and API calls also use HTTPS or relative URLs.
  • Verify that HTTP redirects to the intended HTTPS URL only once.
  • Confirm that cookies requiring secure transport, login callbacks, webhooks, and integrations still work.
  • Record the certificate path, renewal command, reload hook, and responsible owner in your deployment documentation.

HTTPS does not replace other operational safeguards. Keep backups and a rollback plan before changing production configuration; the Cloud App Backup and Rollback Runbook can help structure that preparation.

Common mistakes

Requesting a certificate before DNS is correct
Validation will reach the wrong server or fail. Check A, AAAA, CNAME, and authoritative nameserver responses before retrying.
Covering only one hostname
A certificate for example.com does not necessarily cover www.example.com. List the public URLs first, then request coverage for each required name.
Using a wildcard without planning DNS automation
Wildcard validation can require recurring DNS changes. Use narrowly scoped API credentials and document who or what manages the TXT records.
Redirecting too early
A redirect cannot fix an invalid certificate or an incorrect virtual host. Test direct HTTPS responses before adding the HTTP-to-HTTPS rule.
Forgetting renewal
Installation is not complete until automated renewal has been tested. A renewed file may not help if the web server never reloads it.
Mixing proxy assumptions
Conflicting HTTPS detection between a CDN, reverse proxy, and application can create loops or insecure links. Define trusted proxy behavior explicitly.
Leaving old certificates and keys unmanaged
Remove obsolete references carefully, restrict private-key permissions, and make sure monitoring does not alert on a certificate that is no longer served.

When to revisit

Review this checklist whenever you launch a domain, add or remove a hostname, change DNS providers, migrate a website between VPS providers, introduce a CDN, change web-server software, or alter reverse-proxy rules. Also revisit it before planned seasonal traffic periods and after any change to the ACME client, certificate authority integration, operating system, or automation pipeline.

Make renewal verification a recurring operational task rather than an emergency response. At a minimum, confirm that automated renewal is enabled, the renewal path has write access, the web server reloads successfully, and the live endpoint serves the renewed certificate. Keep an inventory containing each hostname, certificate method, renewal owner, DNS automation scope, and last successful test.

Final deployment checklist: resolve the hostname, open the required firewall ports, request the certificate, verify the live certificate, test the application over HTTPS, add the redirect, simulate renewal, and document the result. If you are also changing providers, coordinate the certificate work with the Cloud Server Migration Runbook so DNS cutover and TLS validation are tested as one change.

Related Topics

#SSL#HTTPS#TLS certificates#cloud servers#website security
w

whata.cloud Editorial Team

Technical Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.