Google cloud provides the easiest way to host a static website (set of html pages without a DB). The first year service comes with free of cost considering that your website doesn’t hit much traffic and doesn’t involve much storage. The setup is quite easy
-
Signup for the trial account here which has a trial period of 1 year and credited with 300$ credits to use other Google Apps
-
Enable billing and add a credit card to your account to verify that you are a human, currently debit card is not supported but still you can add a debit card(need to be changed after trial period) and you will be charged 1$(50 INR) later will be credited once the biller is verified.
-
Add CNAME record to your DNS settings of your domain provider to verify the domain.
-
Create a bucket with the name of the domain/subdomain where you want the site to be available ( for example mp3.a6unraj.com)
-
Once you have completed building an offline copy of your static site you can go into the bucket and upload files into the bucket(css, js, html retaining the folder structure)
Remember to make the index.html and 404.html file as public as above and set them to load in the configuration
Now the site is ready for display.