Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 20 down vote accepted


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.

share|improve this answer
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).

share|improve this answer

Your Answer


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.