Dropbox Web Hosting for Noobz

bornkillerbornkiller AdministratorIn your girlfriends snatch
edited September 2012 in Tech & Games
Hosting a website in Dropbox

Obviously not the best thing to use if you're planning a serious website. But hey! Free shit, easy shit, is all good shit. Right?

Create your website.

If you plan on using an external CSS (cascading style sheet) or any other external document or image. You'll need to link it's public url into your HTML or CSS document. I don't really recommend javascript because I have slight load issues with Dropbox. The less resource hogs you use the better. CSS3 and HTML5 can be a good replacement for 'some' JS.

Create a folder for your website within your public folder.

External link example.

Instead of:
 <head> 
             <title>totseans erotica</title> 
              
     <link rel="stylesheet" type="text/css" href="[COLOR=#800000]style.css[/COLOR]" /> 
 </head> 

You'll use this:
 <head> 
             <title>totseans erotica</title> 
              
           <link rel="stylesheet" type="text/css" href="[COLOR=#800000]https://dweb.dropbox.com/get/Public/your.css[/COLOR]" /> 
 </head> 

The same applies to all images used on your website.

Instead of:
 <img src="[COLOR=#800000]images/yourimage.jpg[/COLOR]" alt="" />

You'll use this:
 <img src="[COLOR=#800000]https://dl-web.dropbox.com/get/Public/test_site/images/logo.png[/COLOR] alt="" />

Tough titty if you're an image whore.

You can cut down on images by using css3 for quite a few things including gradients, bullets, etc. This will help load issues a bit. No promises though. After all, this is Dropbox Hosting.

It's all pretty much basic old html / css type shit. But instead of linking your page HTMLs, images etc to a folder or internal server like you'd normally do. Your linking everything to a Dropbox url.

When you're all warm, fuzzy and shit with your Frankensteiner. Copy the url address for your HTML document. Share the link & profit.

Here's a Demo

Comments

Sign In or Register to comment.