Red Star
Red Star

Reputation: 265

Can I host a website on a cloud service?

I am thinking about paying for a domain name, and I wonder if I can host the files on Dropbox/Google Drive/any other free cloud service...

my question can be divided into two:

1) How can I link my domain name to the "public" html file hosted on my dropbox, if it's possible,

2) Could I have a cPanel, php, MySQL support through a free cloud service ? if not, how would I be able to, let's say, have a subdomain, email, or database ?

(Note, if it's possible to host static pages this way (since it's free) it would be a good option for an indie dev website for example, hence my question) (P.s. I know that there are other free hosting companies (with fairly good bandwidth and storage) that do work well, but for concerns about disponibility and liability, using Dropbox or Google drive would be better)

Upvotes: 1

Views: 1566

Answers (1)

Coke
Coke

Reputation: 985

1) Yes, you can,here’s what you have to do:

  1. Create a new folder in Drive and share it as “Public on the web.”
  2. Upload your HTML, JS & CSS files to this folder.
  3. Open the HTML file & you will see “Preview” button in the toolbar.
  4. Share the URL that looks like www.googledrive.com/host/… from the preview window and anyone can view your web page.

2) Google drive will only allow you to use HTML, CSS and javascript. Likewise, you will not be able to use PHP and will have NO cpanel and MySql support.

P.S. Isn't it better for you to register a free hosting plan, e.g. www.co.nf and enjoy using subdomains and 300MB of hosting +MySql Database with latest version of PHP support and control panel? If you have purchased domain name you can configure its NAMESERVER settings and still use free hosting.

Upvotes: 2

Related Questions