Self hosting a website needs a web server. I used raspberry pi with ngrok, and nginx for a while.
Create an account in ngrok, and register a free domain name. The setup of the web server
is explained in the document below.
But, TAILSCALE is a much better option to host it easily compared to ngrok or nginx, with less limitations.
The link of the website hosted using the Pi is: https://splendid-welcomed-polecat.ngrok-free.app