LaunchPad guides

How to Add a Custom Domain with Free SSL to a Static Site

Hostmargin · · 2 min read
How to Add a Custom Domain with Free SSL to a Static Site

Every LaunchPad project gets a free address with HTTPS. When you're ready to use your own name, like www.yourbusiness.in, you can add a custom domain with free SSL in a few minutes. This guide covers www addresses, bare domains like yourbusiness.in, and Cloudflare.

Step 1: Add the domain in LaunchPad

  1. Open LaunchPad and go to Domains.
  2. Pick the project and enter the domain, for example www.yourbusiness.in.

LaunchPad shows the DNS record to create, including your project's exact LaunchPad address as the target.

Step 2: Create the DNS record

Log in to wherever your domain's DNS is managed: Hostmargin, GoDaddy, Cloudflare and so on. Add:

Domain Type Name Value
www.yourbusiness.in CNAME www your project's LaunchPad address
yourbusiness.in (no www) A @ the IP your LaunchPad address points to

Bare domains can't use a CNAME, so they use an A record. To find the IP, run nslookup your-site.lplive.xyz with your project's address. If your DNS provider offers ALIAS, ANAME or "CNAME flattening" for the root, use that and point it at your LaunchPad address instead; it keeps working if the IP ever changes.

Tip: add both yourbusiness.in and www.yourbusiness.in, so visitors reach you either way.

Step 3: Verify

Back on the Domains page, click Verify. LaunchPad checks your DNS, then issues a free Let's Encrypt certificate and starts serving the domain over HTTPS. The status changes from Checking to SSL Issued.

DNS changes usually take a few minutes, occasionally a few hours. If you see DNS not ready, wait a little and click Verify again.

Using Cloudflare?

Set the record to DNS only (grey cloud) while you verify. With Cloudflare's proxy on (orange cloud), LaunchPad sees Cloudflare's addresses instead of your record, and verification fails.

Certificates renew themselves

Certificates are renewed automatically before they expire, and visitors on http:// are redirected to https://. There's nothing to remember.

How many domains can I add?

The Free plan includes 1 custom domain, Pro 5, and Business unlimited. See the full limits on the compare page.

Don't have a domain yet?

You can register one at Hostmargin and manage its DNS from the same account.

Next steps

Ship your next site today

Three projects free, forever. Sign in with your Hostmargin account — no credit card required.