Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I know that in cPanel/WHM you can allow users to preview their site using http://server_ip/~username

Any ideas on how to do this?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try these steps

1.From WHM: Main >> Security Center >> Apache mod_userdir Tweak

2.Tick Enable mod_userdir Protection

3.Untick every thing under column heading Exclude Protection

4.Locate the virtual host that you wish to use from the list under column heading Host.

5.Input the cPanel account username, or usernames as a space-separated list, under the column heading Additional Users. 6.Click Save, at the bottom of the page, to submit and finalize changes.

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.