Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently, google drive offered a way to host websites. Is it possible to do something similar using UbuntuOne?

share|improve this question

2 Answers

Yes, you can. But there are certain caveats.

Ofcourse you can use URL shorteners, but that's an extra layer of effort.

  • The CSS and JS files you use need to be shared as well, if they're stored on your Ubuntu One account, otherwise you can link them directly.
  • The above point would make your HTML code from something like:
<link rel="stylesheet" href="css/css.css" />

to something like:

<link rel="stylesheel" href="http://ubuntuone.com/somerandomstring"/>

If you can handle all of it, you're good to go!

Here's a sample page for an example linking to another CSS file: http://ubuntuone.com/3z3QTmzw9kJZmisMOKxnL3

share|improve this answer
3  
I'd rather say "yes you can in theory, but you probably don't want to because it's a world of pain" :) You'll have to carefully upload files one by one because you can't tell their URL beforehand and edit other files to reference each other properly... – Sergey Feb 5 at 21:19
@Sergey Absolute agree with you. I created a simple page, but there were nothing of simple there :) – Lucio Feb 5 at 21:22
Awsome Thank you! – Kayoti Feb 10 at 22:23

The short answer is Yes, but here is more information that may help you:

google drive offered a way to host websites

What they offered isn't host websites precisely, but a simply file host. And if this files can be public and if their content is a HTML web page, then you can call it as a website host (bad).

As Ubuntu One offer the same service than Google Drive (theoretically) it will work in the same way.

The things that you have to take into account are:

  • You won't get an specific domain, it will have a lot of strange characters.
  • The traffic limit of your page is a real problem.
  • As you don't have a full server host, you will not be able to use technology like PHP or database software and many other tools.
  • And obviously the storage capacity..

But if you want to share information or you are entering in the world of the web design it is a funny/useful tool for playing around with it ;-)

You can have a HTML page that load your css, js code, images, among other things.

Review the code of my PublicSinglePageSystem site to know quickly how to do that using Ubuntu One.

share|improve this answer
If you read the google page linked to in the question, you'll see that it allows to upload a bunch of html/css/js into a folder and have it all published on the web, so it's a bit beyond a "simply file host" - it is possible to reference one html file from another in a normal way, for example. – Sergey Feb 5 at 21:24
I know that. I create a page to understand how it works. But, for me, it is a simply file host that you could use for powerful things like the one that you mentioned. – Lucio Feb 5 at 21:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.