Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hellorrr's avatar

Forge \ Let's Encrypt - First domain does not match root domain on site.

Hey guys, got a fresh install (laravel project, digital ocean server, one domain per server), but having problems with let's encrypt when i try to add a subdomain (admin.example.com). It gives the above error.

I try doing all three (www.example.com, example.com, admin.example.com), and gave the same error. Tried doing just www.example.com and example.com, which worked, but when I try to add admin.example.com it gives that error.

this is a problem because admin.example.com now has warning and unsecured connection while the main site does.

Thanks!!!

0 likes
0 replies

Please or to participate in this conversation.