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.

IP/~user not working

Discussion in 'General Discussion' started by MK Hosting, Jul 6, 2006.

  1. MK Hosting

    MK Hosting Active Member

    Joined:
    Dec 5, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK, Milton Keynes
    Hi,

    If I go to server IP /~cpanel user name I get a 404 error and a clients website. If I visit the main server IP it takes me to that clients website. I think that is the problem.

    Anyone know how I can fix this?


    Thanks for looking.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Check if you have mod_userdir protection enabled (WHM > Tweak settings).

    That is simply because it is the first VirtualHost container for that IP in the Apache configuration.

    Make the first VirtualHost container that of the site you wish to be displayed when browsing to the relevant IP.
     
  3. MK Hosting

    MK Hosting Active Member

    Joined:
    Dec 5, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK, Milton Keynes
    Thanks, worked.

    Is there anyway to have the server IP goto the host name page? Thats what it used to do.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Yes, and I think I mentioned how to do that in general terms.
     
Loading...

Share This Page