Sign up ×
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

closed as off-topic by HopelessN00b Jan 13 at 19:46

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 13 at 19:46

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

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