If you are looking for a free website hosting either for permanently or temporarily, then Google drive is the best choice for those who does not want to spend a penny for web hosting.
First, You have to create all necessary files (CSS, Index and Images). Then, Log in to your Google Drive account.
Create a Folder as 'website'. Now, open the folder (website) and upload all files.
Now, Right click on the folder ( my website ) and then 'Share'.
Now, Click on 'Advanced'.
Now, Click on 'Change' and then change the sharing option to public and save the changes.
And then, copy the URL address of the folder and keep in Notepad.
Now, Your URL address something look like below,
https://drive.google.com/folderview?id=0B-AYvC9Y1riabVdVZlk4Vy1NQTQ&usp=sharingThe File id is highlighted in red color.
Now, we have to make some changes to host files. And replace red color section in below URL by your file id.
After making changes, URL will something like below,
http://googledrive.com/host/0B-AYvC9Y1riabVdVZlk4Vy1NQTQNow, Copy and Paste the URL on the browser address bar and hit 'Enter'. done. Your site now running free on the internet using google drive at free of cost.
The URL address of the hosted website is too long, then you can short your URL by any URL shortener site or redirected the site using a custom domain name.