The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to turn off mydomain.com/~username ?

Discussion in 'General Discussion' started by Dreamy, Mar 25, 2010.

  1. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I want to take away ability for users to see their site at mydomain.com/~username with whm. how to do that?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In your WHM > Security Center > Apache mod_userdir Tweak you'll find the setting to disable this.

    More on this in the documentation here:
    Apache mod_userdir Tweak
     
  3. handsonhosting

    handsonhosting Well-Known Member

    Joined:
    Feb 17, 2002
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Omaha, NE
    cPanel Access Level:
    Root Administrator
    More specifically, you'll want to go to
    Main >> Security Center >> Apache mod_userdir Tweak

    Click the box that says "Enable mod_userdir Protection" and then make sure there's no other checkboxes marked on the "Exclude Protection" column.
     
Loading...

Share This Page