Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

This may not be the correct forum for this (if so please direct me to the correct one). I am building a website that was set up using C-Panel.

The temporary URL for the site is

For most intents and purposes this is fine but there is conflict with the tilde (~) portion of the url and the CMS system (Expression Engine) that I am using. Is there a way to change the temporary URL to something like: or


share|improve this question
up vote -1 down vote accepted

it usually some folder in your home directory inside the machine. So do a ssh into that machine and find out. One way to confirm this theory is by opening the httpd.conf. usually located in /etc/httpd/conf/httpd.conf and look for something like userdir . Look up at the docs section and see the directive corresponding to home directory. And then remove that entry in your machine httpd.conf or from one of included conf files. Now move the content of those under that dir to your dir specifed by document root. This should solve your problem.


share|improve this answer
Is there any way to do this just using cpanel? – fmz Aug 8 '11 at 17:19

I have no idea why the above answered was marked as correct, but it is dead wrong.

The tilde+username system is usually (especially in cpanel) set up with mod_userdir Apache module.

I don't know if you can make the module use a different character, but regardless the case, there is no folder named ~username.

So, to answer your question, to do what you want, I would advise creating a folder somewhere on the main server (eg: and put an .htaccess inside it with a rule rewriting requests to the folder to ~flowerwo.

PS: It is important that you rewrite the URLs not redirect, because redirects will cause the user to end up on the ~flowerwo part, which I presume is something you wouldn't want.

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.