What you would need to do is to install a webserver like NGINX or Apache. You can build your server with pre-installed NGINX. After that, once the web server has been installed on your server, you have to upload your index.html
file to the /var/www/html
directory.
Regarding your domain name, you need to do the following:
- Get a domain name from any registrar like GoDaddy (if you don’t already have one).
- Add a DNS record of type A with server IP as a target.