This is a big question, so I'm only looking for a high-level overview answer to help me research the bits I don't know.
Essentially the problem is this: I need to take a dedicated Mac Mini (or similar macOS machine) and use it to host a website that's only accessible to those on the same local network.
My first instinct was to buy a domain (and certificate) and point it to a local address (eg. 10.10.10.152) that I know my server will be located at. So that way anyone trying to access that domain will be redirected locally to my website if they're on the right network.
Will this work? If so, what are the major steps in taking a domain, installing a certificate, and pointing it to a local IP?