Skip to content

.dev forces HTTPS. Broke my dev server. Solutions?

Domain Names by steveipw 8 replies 509 views
#1

So I grabbed a .dev for my homelab dashboard. Pointed it at my Contabo VPS. Immediately got HSTS errors in every browser. Couldnt even click through.

Turns out .dev is on the preload list. Forces HTTPS. My dev server is plain HTTP behind a reverse proxy I hadnt configured yet.

Workarounds ive found:

  • Use a self-signed cert, browsers still complain
  • Local hosts file with .local instead
  • Buy a real cert for a dev box

For that money you get better off using .test from the start. Learned this the hard way. Anyone else hit this?

zfs send | zfs receive. repeat.
#2

Actually not my circus, not my monkeys but I had same problem XD

.dev is not for dev server, is for pretending to be professional

Double negative: you cant not use HTTPS on .dev, no way around it

My clients dont want .dev anyway, they want .pl or nothing

I tell them use .test, they dont listen, then they cry to me

#3

In my country we use .localhost or modify /etc/hosts

Cheaper than any cert

Why need real TLD for dev server?

phở at 3AM, deploy at 4
#4

Rfc 2606 says.. use .test.. .example.. .localhost.. .invalid..

.dev is real gTLD.. not for internal use..

You bought wrong thing.. happens to everyone..

436 days. reboot is surrender.
#5

My clients run into this all the time. I always steer them to our premium support ticket system for domain strategy consulting.

We offer premium .dev registrations but honestly for dev environments our premium .test solution through partner registrar is more premium for this use case.

Happy to open a ticket if anyone wants premium guidance. My clients appreciate the white-glove approach.

#6

Just run Caddy! Automatic HTTPS! Insane value!

I have Ampere Altra at home, ARM64, runs circles around x86 for this workload. Caddy + Vultr VPS as origin, local ARM box as dev server. Works perfectly!

For.dev you NEED valid cert. Lets Encrypt is free. No excuse!

Specs of my setup:

  • Ampere Altra Q80-30
  • 32GB DDR4
  • Caddy v2.7
  • Vultr VPS 2GB as failover

HSTS preload is feature not bug!

one small ping for man...
#7

What Ampere model is that Q80-30?

#8

Vultr lol

grabs popcorn, checks /r/drama
#9

You sure Caddy runs fine on ARM64? I had issues.

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft