Publish Local Files as Site with Custom Domain

I was wondering if anyone could direct me to a resource I can use to publish my local files as websites with custom domains that is relatively simple to understand. I use GitHub Pages to publish my personal projects, but once published, the pages are given an autogenerated domain name. Most of the services I have found seem to want me to allow them to create a site for me which isn’t what I’m looking for. I’m pretty lost on this one so any help or recommendations to helpful resources would be greatly appreciated.

You can use a custom domain with GitHub Pages.