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.
You can host any files (JavaScript, CSS, and Images etc.) on google drive server but can't host PHP.
Those who wants free hosting, follow the following simple steps:
Step1
First, You have to create all necessary files (CSS, Index and Images). Then, Log in to your Google Drive account.
Step2
Create a Folder as 'website'. Now, open the folder (website) and upload all files.
Step3
Now, Right click on the folder ( my website ) and then 'Share'.
Step4
Now, Click on 'Advanced'.
Step5
Now, Click on 'Change' and then change the sharing option to public and save the changes.
Step6
And then, copy the URL address of the folder and keep in Notepad.
Step7
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.
Step8
Now, we have to make some changes to host files. And replace red color section in below URL by your file id.
http://googledrive.com/host/file-idStep9
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.
0 comments:
Post a Comment