Take the 2-minute tour ×
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
    
The link by now gives 404 –  Lucio Jul 17 at 2:24

3 Answers 3

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 (The link doesn't work anymore).

share|improve this answer
4  
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 '13 at 21:19
    
@Sergey Absolute agree with you. I created a simple page, but there were nothing of simple there :) –  Lucio Feb 5 '13 at 21:22
    
Awsome Thank you! –  Kayoti Feb 10 '13 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 play on the world of the web design it's a funny/useful tool.

You can use a HTML page to load CSS, JavaScript code, images, and such static files.

EDIT: in this week Canonical announced that Ubuntu One services will be shutdown. So in a couple of days you will no longer be able to do "host a website" on it.

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 '13 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 '13 at 21:30

No, you cannot. Ubuntu One file synchronization is not a cloud server or web hosting service.

Yes, you can make individual files publicly accessible, but it is not a reliable way to host a web site. You may also end up violating the Terms of Service in attempting to host a web site, via the Ubuntu One service.

Acceptable use and conduct

All usage of the services must be legal and not infringe any third party's rights. You must not take any action or use the services in any way that might bring Canonical into disrepute, affect the ability of Canonical to provide the services, be illegal, or encourage illegal activities. You may not use the services in any manner that might be libellous or defamatory (more info on what that means), that contains threats or incites violence towards individuals or entities, or that violates the privacy or publicity rights of any third party. Some services have usage limitations as indicated at https://one.ubuntu.com/plans, and you may not exceed these. As part of the services, you may store data on Canonical's servers or those of Canonical's suppliers. You should ensure that this data is not in breach of any applicable law and does not breach any individual's data protection or privacy rights. You shall indemnify Canonical in full for any loss, cost or damages suffered by it as a result of your use or misuse of the services.

share|improve this answer
    
You may also end up violating the Terms of Service Absolutely no. Hosting your own web page that can has public access is not a violation of those terms. –  Lucio Aug 17 '13 at 21:42
    
Hosting a web page on Ubuntu One is not part of acceptable use of the service. The language in the terms is clear. Ubuntu One is not a web hosting service, nor is it designed to be used as a web hosting service. –  dobey Aug 18 '13 at 20:46
    
Still, I don't see that on your quote. –  Lucio Aug 18 '13 at 22:44

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.