Hosting & Custom Subdomains

Every landing page you publish is reachable from up to three URLs. They all serve the same HTML - pick whichever feels best for the context (sharing on social, embedding in ads, or keeping things short).

The three URL forms

URLWhen to use
<sub>.floatmessage.com/The branded URL. Each landing page can claim its own subdomain - visitors see acme.floatmessage.com in the address bar. Best for paid ads, business cards, anywhere the URL is part of the pitch.
lps.floatmessage.com/<slug>A shared landing-pages host that always works, even before you claim a subdomain. Same HTML as /p/<slug>.
floatmessage.com/p/<slug>The canonical apex URL. Always works. Used by the dashboard preview link by default and as a permanent fallback.

Claim a subdomain

  1. Open the page in Dashboard → Landing Pages → Edit.
  2. In the Custom subdomain (optional) field, type the label you want (e.g. acme for acme.floatmessage.com).
  3. The availability badge updates as you type - green “available ✓”, red if the name is reserved or taken.
  4. Save the page. If it's not already published, click Publish.
  5. Visit https://<your-pick>.floatmessage.com/. The page renders, the URL bar stays branded.

Naming rules

  • 3–63 characters.
  • Lowercase letters, digits, and hyphens (a–z 0–9 -).
  • No leading or trailing hyphen.
  • First-come-first-served - once a name is claimed by another page it can't be re-used until released.
  • Reserved names are blocked: www, api, app, lps, admin, dashboard, docs, login, signup, pricing, mail, blog, status, support, billing, and similar product / infrastructure labels.

How it works under the hood

  • The floatmessage.com zone has a wildcard * CNAME record. Cloudflare's Universal SSL automatically issues and renews a wildcard certificate, so HTTPS just works for any new subdomain you claim.
  • The Worker route *.floatmessage.com/* catches every subdomain request. Reserved labels (www, api, etc.) are passed through to their own routes.
  • Middleware extracts the subdomain, looks up the matching published landing page, and rewrites internally to the page renderer. The browser URL stays on the branded subdomain.
  • Unclaimed or reserved subdomains return a normal 404 - they don't fall through to the marketing site.

Canonical URL & SEO

When a page has a subdomain set, FloatMessage emits the subdomain URL as the <link rel="canonical"> tag. og:url follows the same rule. This consolidates link equity on the branded URL even though all three forms serve the same content.

If you set an explicit Canonical URL in the page's SEO settings, that always wins.

FAQs

Can multiple pages share one subdomain?
No - one subdomain maps to exactly one published landing page. If you want a workspace with multiple pages under one host, use lps.floatmessage.com/<slug> for each.
What happens if I unpublish the page?
The subdomain stops resolving (404 until you republish). Other pages are unaffected. The claim itself stays on your record so you can republish without losing the URL.
Can I change a subdomain after claiming it?
Yes - type a new value in the field and save. The old subdomain frees up immediately. Update any external links you've shared.
Do I need to set up DNS?
No. The wildcard DNS record is on the FloatMessage zone, so claiming a subdomain doesn't require any work on your side.
Can I use my own domain (e.g. landing.mycompany.com)?
Bring-your-own-domain hosting is on the roadmap but not yet shipped. For now, branded subdomains under floatmessage.com are the closest we offer.