My university provides a web URL and some hosting space and the URL is like http://homepages.iitb.ac.in/~pritampebam.

Almost all universities I've come across seem to use this structure where there is the '~' sign right in front of the username.

Other examples.



Why is it so?



A unix convention that represents a users homedirectory. Some providers allow users to get content from a certain directory in their home directory delivered by the webserver.

|improve this answer|||||
  • 1
    Cool, it's the same thing with cPanel – Marco Demaio Jan 31 '13 at 9:02

In addition to what initall mentioned, having a standard for user directories would allow for URL pattern matching such as, "anything that starts with tilde, treat the remainder as a user's name, and see if they have a website". While I don't know if this is how any universities handle their serving of users' websites, it would be an option. If a user existed with the name "employment", but they wanted to setup university.edu/employment to load employment information, the tilde helps avoid conflicts.

(Obviously, if they're using a subdomain like users.university.edu/<username>, this isn't needed. Additionally, they could also use a more user-friendly URL like university.edu/users/<username>, but the tilde being preferred for reasons initall stated).

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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