2 domains configured on digital ocean, only 1 works with direct browser access using Apache2

Solution 1:

This is a known issue.

TLD .dev is forced to use HSTS, which means without SSL is not possible

Regarding https://get.dev/#get-started as Reference:

Your security is our priority. The .dev top-level domain is included on the HSTS preload list, making HTTPS required on all connections to .dev websites and pages without needing individual HSTS registration or configuration. Security is built in.

So Enable and force SSL and also forgot any http on this as it will be useless on this kind of TLD.