Monday, August 12, 2013

Shorter URLs for web hosting

In our last blog post, we announced that ocf.berkeley.edu points to the web server, meaning that you can now leave off the "www" in www.ocf.berkeley.edu.

We're now announcing ocf.io as a shorter alternative to ocf.berkeley.edu, "in beta".

In addition, if you leave off the tilde ("~") for an account name, it will be added.

In other words, the following are shorthand forms of the canonical form http://www.ocf.berkeley.edu/~account :
  • ocf.io/account
  • ocf.io/~account
  • ocf.berkeley.edu/account
  • ocf.berkeley.edu/~account
  • www.ocf.berkeley.edu/account
The shorthand URL forms are 302 redirected ("moved permanently") to the canonical URL.