To host the files, you will need a webserver.
And you can point your domain to that webserver.
You can buy servers, or hosting services as well.
If you have a server, you have more flexibility, but also more work.
If you have a service, you have less flexibility, but easier setup.
I think it is easier to just use a service.
I guess, you could ask the following questions from yourself:
1️⃣ Can I generate/update the html files on the external webserver?
2️⃣ Do I have to generate the files every 5 minutes, or is it enough to generate only when the website is viewed?
Answering these questions could help to find a solution.
I only used heroku and pythonanywhere so far as services. With them you can create a simple python flask webserver, and host your website.