Wednesday, October 29, 2014

Host Google Drive with Custom Domain



Google Drive is definitely an excellent service provided by Google. It let us to store our files online. From now Google Drive will allow web developers to host a website in it for free with 15 GB space. Different from Blogger and Google Site, Google Drive has not included the custom domain feature. But thanks to http://gweb.io who short the google drive link. Now you can use a short domain or even your own domain like www.example.com for your Google Drive hosted website. There is another URL shortening service special for Google Drive http://gdriv.es/. It's much simpler, just follow the instructions on the homepage and you are good to go, but you can't use your own domain.

Normal URL: 
https://googledrive.com/host/0BxhAEJ5WPt2SRnE1OTNaVHZPaXc
gdriv.es: 
http://gdriv.es/mbwlanding
gweb.io: 
http://mbwlanding.gweb.io/
http://www.yourdomain.com/

Custom Domain for Google Drive by gweb.io

Go to Site http://gweb.io. Then click on "Login". Then it will be redirected to a request permission Page and there click " Accept ".

Then URI would somewhat like yourdomain.gweb.io and " Domain? " box will be blank. Now go to your browser, type { yourdomain.gweb.io } and enjoy your website. 
Note : The folder should contain an index.html file of your website. Otherwise it will just display a list of files present in that folder.

Set up your own Domain

And in the " Domain? " box you can add your Custom Domain. But before adding  a custom Domain you have to do two things.
1. Modify your domain's DNS :
Login to your DNS management account. Add or modify [ www.example.com ] CNAME record and point it to [ example.gweb.io ].
2. Set your domain on gweb.io :
You have to go to the gweb.io panel and set [ www.example.com ] as the domain for example.gweb.io ]
Without www, if you want to access example.gweb.io via example.com , you need to set up the DNS For [ example.com ] like this:
Add/modify three A records and point them to:

    75.101.163.44
   75.101.145.87
   174.129.212.2

Note: Don't forget to add the domain [ example.com ]  in the gweb.io panel beside the URI link. See Docs for further information.

0 comments:

Post a Comment