DEV Community

Simon Gloël
Simon Gloël

Posted on Originally published at blitz.cloud

Free subdomain with HTTPS for side projects

A side project rarely needs a real domain. It needs an address you can send to a friend that doesn't look like 192.168.0.12:3000 and doesn't throw a certificate warning. Buying a .com for every weekend idea adds up, and many of those ideas are gone before the first renewal.

I'm Simon, I run blitz.cloud, a small hosting startup from Regensburg. One thing we built is a free subdomain for every account, and I want to show how it works and where it's the wrong choice. There are good free options out there, and some of them fit certain jobs better than ours.

What you get

Every account claims one name under prod.page, like lena.prod.page. That address costs nothing.

  • HTTPS for the address and everything under it. We issue the certificates and they renew on their own. HTTP redirects to HTTPS, and browsers only open .page over HTTPS anyway, so there's no plain version of your site.
  • One subdomain per app. A blog becomes blog.lena.prod.page, an API api.lena.prod.page.
  • Up to 10 DNS records of your own under the address: A, AAAA, CNAME, TXT and MX.
  • prod.page is on the Public Suffix List. Browsers treat every account as its own site, so max.prod.page can't set cookies for lena.prod.page.
  • No noindex header from us. Search engines may list your pages.

The servers are at Hetzner in Germany. Names are 3 to 30 characters, lowercase letters, digits and hyphens. You can rename once every 14 days, and the old name forwards for 14 days so saved links keep working.

Three steps

1. Claim a name

Check whether your name is still free on get.prod.page and claim it there. You can also do it at the top of the dashboard after sign-up, where the field tells you as you type. The first certificate is ready a few minutes after you claim.

2. Put something under it

An empty address shows a short "Nothing here yet" page. In the dashboard you pick what runs there: a folder of HTML, CSS and images, a static site from GitHub (Astro, Hugo, Vite), a Docker image, or one of the open-source apps from the store. You give the app a short name, and portfolio becomes portfolio.lena.prod.page. One app can also sit on the main address.

3. Point a record somewhere else

Say a Minecraft server runs on a box at home or at another provider. On the Domains page you add an A record:

mc    A    203.0.113.42
Enter fullscreen mode Exit fullscreen mode

Now players connect to mc.lena.prod.page. A few other things that work:

docs  CNAME  some-page.example-host.com.
@     TXT    "some-service-verification=abc123"
@     MX     10 mail.your-mail-provider.com.
Enter fullscreen mode Exit fullscreen mode

The dashboard refuses private addresses like 192.168.x.x, and it won't let you point a name an app is using somewhere else, because that would take the app offline. A server you point at with an A record runs outside our platform, so it needs its own certificate.

How it compares

I'd rather you pick the right tool than ours by default, so here's how I see the others.

GitHub Pages gives you yourname.github.io, served over HTTPS. It's great for static sites from a repository. It runs no server-side code, and the name only ever points at GitHub Pages.

Netlify and Vercel give each project a subdomain like project.netlify.app or project.vercel.app. Same idea: good for frontends on that platform, but the name belongs to that one project there.

is-a.dev gives developers names like yourname.is-a.dev for personal sites. You open a pull request on GitHub, volunteers review it, and once it's merged the records go live. The name can point anywhere, but there's no hosting, and you wait for a review.

DuckDNS is free dynamic DNS. A script or your router calls an update URL with a token, and the name follows your home IP. If that's what you need, use it. Ours can't do it.

eu.org hands out free subdomains to individuals and non-profit organisations. You get the name, and the hosting is up to you.

What we do differently is put the address, the hosting and your own records in one account, without a review queue.

When it's the wrong tool

  • Your home IP changes and the name should follow it. Our records are changed by hand. Use DuckDNS or another dynamic DNS service.
  • You need SRV or NS records, for example to hand a whole zone to your own nameserver. We don't offer them. Without SRV, Minecraft players type the port if it isn't the default.
  • You want a mailbox. We don't host mail. An MX record can send mail to a provider that does.
  • Your app has to answer at any hour because other programs call it, like a webhook. On the free plan an app sleeps after 30 minutes without a visit and wakes on the next visit in a browser.
  • The business card should say lena.com. Then you want your own domain. The subdomain stays when you add one.

What the free plan includes beyond the address, and its limits, is on our pricing page. The full guide with the rules and a FAQ is here: Free subdomain with HTTPS.

If something in here is wrong or you miss a provider, tell me in the comments. I read them myself.

Top comments (0)