I Launched a Waitlist Page in One Night. Here's Everything That Broke
New .de domain, static site, double opt-in with Brevo, mail DNS, clean URLs and log-based stats. The real gotchas from launching kassenkumpel.de.
I'm building a small app called Kassenkumpel. It's a household budget book you talk to: you say "12 Euro Rewe" and the expense is in, sorted. No bank connection, no saving tips. The app doesn't exist yet. What exists since last night is a waitlist page at kassenkumpel.de.
The page itself was done before I started. Plain HTML, CSS and a bit of JS, no build step. Getting it live properly took one night anyway: domain, server, mail, newsletter double opt-in, privacy stuff, stats. Most of it was boring. A few things weren't, and those are what this post is about.
TL;DR: Create the DNS zone before you register a .de domain and wait until every nameserver answers, or the registry check fails. Self-host your fonts, it's two files. If you post your own form to Brevo, send email_address_check and locale and don't add a captcha. Two DKIM selectors on one domain are fine. Use THE_REQUEST for clean URLs so your redirect doesn't loop. And a fresh domain gets scanned within hours, so look at your logs before you look at your visitor count.
Gotcha: the .de registration came back "failed"
I register domains through my registrar's API. My script created the DNS zone and then sent the registration a few seconds later. The registration went through, I paid, and then the registry whois said this:
Domain: kassenkumpel.de
Nserver: ns.example-registrar.de
Nserver: ns2.example-registrar.de
Nserver: ns3.example-registrar.eu
Status: failed
failed at DENIC doesn't mean the domain isn't yours. It means the nameserver check failed, so the domain isn't put into the .de zone. I checked the three nameservers one by one:
for ns in ns.example-registrar.de ns2.example-registrar.de ns3.example-registrar.eu; do
echo "== $ns"; dig +short SOA kassenkumpel.de @"$ns"
done
Two answered with an SOA. The second one refused the query. The zone simply hadn't reached it yet when the registry checked. The registrar retried on its own and about a minute later the status was connect.
So the fix is order: create the zone, wait until all nameservers answer, then register. If you're scripting it, loop on that dig until every server returns a serial.
Server: nothing special, on purpose
The site runs on a box with KeyHelp, which I wrote about in KeyHelp as a free Plesk alternative. New client, new domain, Let's Encrypt for both names, force HTTPS, www as a 301 to the bare domain. On top of that a few headers in the HTTPS directives:
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
<FilesMatch "\.(jpg|jpeg|png|webp|woff2)$">
Header set Cache-Control "public, max-age=2592000"
</FilesMatch>
HSTS I set through the panel's own switch, so it doesn't end up twice.
Self-host the fonts, it's two files
The page used Google Fonts. In Germany that's a known way to get a warning letter, because the visitor's IP goes to Google without consent. The font is Geist, which is under the SIL Open Font License, so I took the two variable font files from the npm package and put them next to the site:
@font-face{font-family:"Geist";src:url("/fonts/Geist-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/fonts/GeistMono-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap}
About 57 KB each. Then I swapped the Google <link> tags for one stylesheet and a preload. To check that nothing external is left, open the page and run this in the console:
performance.getEntriesByType('resource').map(r => r.name).filter(n => !n.startsWith(location.origin))
Empty array means no third-party requests. Mine was empty.
Mail for the domain
The page needs a contact address, and the newsletter needs a sender. So hallo@kassenkumpel.de got a mailbox on the same server, plus the usual records:
kassenkumpel.de. MX 10 mail.example.com.
kassenkumpel.de. TXT "v=spf1 mx -all"
default._domainkey.kassenkumpel.de TXT "v=DKIM1; k=rsa; p=..."
_dmarc.kassenkumpel.de TXT "v=DMARC1; p=quarantine; rua=mailto:hallo@kassenkumpel.de"
If you've never done this from scratch, I have a full walkthrough in setting up SPF, DKIM and DMARC for a new mail domain. The test mail to another of my mailboxes came back with SPF pass, DKIM pass and DMARC pass.
I also forward that mailbox to my main inbox. Forwarding breaks SPF for outside senders unless the server rewrites the envelope sender. KeyHelp runs postsrsd for that, and in the log you can see it working:
from=<SRS0=JqfT=I5=gmail.com=someone@mail.example.com>
Double opt-in with Brevo, without their form
For the waitlist I used Brevo's free plan. 300 mails a day is plenty for a waitlist. Double opt-in is built in, which you want in Germany anyway.
I didn't want Brevo's embedded form, because the page already had its own. Brevo's form has a plain POST endpoint, so the page just posts to it. To find out which fields it expects, fetch the form once and list the input names:
curl -s "https://xxxx.sibforms.com/serve/MUIF..." | grep -oE 'name="[A-Za-z_]+"' | sort -u
Mine had EMAIL, my custom attribute INTERESSEN, locale and email_address_check. That last one is a honeypot. It has to be sent, and it has to be empty:
const body = new FormData();
body.append("EMAIL", email);
body.append("email_address_check", "");
body.append("locale", "de");
if (wants.length) body.append("INTERESSEN", wants.join(", "));
await fetch(FORM_ENDPOINT, { method: "POST", body, mode: "no-cors" });
no-cors means you can't read the response. So test the whole flow once for real: sign up, wait for the mail, click the link, see where you land. The confirm link should go to your own thank-you page, not Brevo's default one.
Gotcha: don't add the captcha
Brevo's form editor offers a captcha block. If you post your own form to the endpoint, you can't send a captcha token, so every signup gets rejected. Leave it out. The double opt-in already stops fake signups from becoming real contacts.
Two DKIM selectors on one domain
Brevo wants its own DKIM. With manual setup you get one TXT and two CNAMEs:
kassenkumpel.de. TXT "brevo-code:..."
brevo1._domainkey.kassenkumpel.de. CNAME b1.kassenkumpel-de.dkim.brevo.com.
brevo2._domainkey.kassenkumpel.de. CNAME b2.kassenkumpel-de.dkim.brevo.com.
My own server already signs with default._domainkey. That's no conflict. Every mail says in its signature which selector to look up, so both can live side by side.
I didn't touch SPF. Brevo sends with its own bounce domain as envelope sender, so SPF is checked against Brevo, not against my domain. DMARC passes through the DKIM signature, which is aligned with the From domain. The confirmation mail on my server showed exactly that:
dkim=pass header.d=kassenkumpel.de header.s=brevo1
spf=pass smtp.mailfrom=bounces-...@...sender-sib.com
dmarc=pass (policy=quarantine) header.from=kassenkumpel.de
Spam score -0.01. Good enough.
Clean URLs without a redirect loop
I wanted /ideen instead of /ideen.html, and old .html links should still work. The trap: if you redirect .html to the clean URL and then internally rewrite the clean URL back to .html, Apache sees .html again and redirects again. Using THE_REQUEST avoids that, because it only matches what the browser actually sent:
Options -MultiViews
RewriteEngine On
RewriteCond %{THE_REQUEST} \s/index\.html[\s?#]
RewriteRule ^ / [R=301,L]
RewriteCond %{THE_REQUEST} \s/([A-Za-z0-9_-]+)\.html[\s?#]
RewriteRule ^ /%1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^([A-Za-z0-9_-]+)/?$ $1.html [L]
For a single-page app the idea is different, I covered that in the Apache .htaccess fallback for SPAs. Don't forget the sitemap and the canonical tags, they still pointed at .html in my case.
Privacy policy: say what the newsletter tool does
Brevo tracks opens and clicks. The confirmation link in my own test already went through a Brevo tracking URL. That has to be in the privacy policy, and the signup form should link to the policy, otherwise the consent doesn't cover it. I added a short paragraph and a link under both forms. Not exciting, but it's the kind of thing you forget at 2 am.
Gotcha: the first day is mostly bots
I count visitors from the server logs, no JS tracker. The page went into my stats dashboard the same night. First day:
requests 3384
bot requests 3193
attack patterns 1637
visitors 12
Nobody knew the domain yet. But a new certificate shows up in public certificate logs, and scanners pick that up within hours and try every WordPress path there is. If you use a tracker that only counts JS executions you won't see any of this. If you count raw log lines you'll think you went viral. Filter bots and asset-less hits, and rotate those logs, see logrotate basics.
What I'd do the same way again
Static page, own server, one newsletter tool for the one thing it's good at. The only third party in the whole setup is Brevo, and only after someone types in their email and confirms it.
If you want to know when Kassenkumpel is ready, the waitlist is at kassenkumpel.de. On the ideas page you can vote on what it should learn first.