Web Hosting Talk







View Full Version : cPanel and ~ folders


vito
09-07-2003, 02:40 PM
I just received a pre-sales enquiry. This person wants to be able to set up subfolders in the form of http://domain.com/~user as opposed to http://domain.com/user . The latter is what you would use when setting up a subdomain. But how would you do it so that the ~ is used in the address?

I'm not quite sure why he'd want to use the ~ , but that's what he's asking for.

Any info you can share with me please?

Thanks.

Vito

Jim_UK
09-07-2003, 03:19 PM
When a website is accessed with a tilde and the username, it doesn't really matter about the actual domain name and it's based on the username. The request will be mapped to user's account and not domain.com's account.

This can be setup but it will require that each user has an account setup in WHM which obviously creates a full account and goes further than just creating the folder (I'd recommend setting each up in WHM using a subdomain for the domain). Once the account is created you can use http://any-domain-on-server.com/~username/ to access it.

Bear in mind though that any bandwidth use will be marked on domain.com's account (or whatever domain is used along with the ~user) and not the user's account. Also, it's possible to disable/limit this feature at server level so you may want to check this out first.

vito
09-07-2003, 03:40 PM
Thanks for the great reply, Jim. :agree:

Vito