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.

View a Name-Based Domain

Discussion in 'Security' started by suraksh, Oct 6, 2004.

  1. suraksh

    suraksh Member

    Joined:
    Oct 6, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    How can we view a name-based domain whose name-servers have not been pointed, but we want to see the content that has been uploaded using the IP address.
     
  2. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Go into WHM>>Tweak Security>>mod_userdir Tweak

    Apache's mod_userdir allows users to view their sites by entering a tilde(~) and their username as the uri on a specific host. For example http://test.cpanel.net/~fred will bring up the user fred's domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). mod_userdir protection prevents this from happening. You may however want to disable it on specific virtual hosts (generally shared ssl hosts.)


    http://123.123.123.123/~username works as well.
     
Loading...

Share This Page