Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Default website on an IP?

Discussion in 'General Discussion' started by Chris-777, Apr 14, 2011.

  1. Chris-777

    Chris-777 Member

    Apr 8, 2011
    Likes Received:
    Trophy Points:
    My cPanel's primary account shares it's IP with WHM. (.114)

    DNS is working, and the site works fine with a FQDN. However if I hit the IP address in a web browser, I get a default Apache page.

    Is there a way that I can select a folder for the default website, so that the IP brings up a client TLD rather than the "flush your cache" page?

    Thanks as always!
  2. garrettp

    garrettp Well-Known Member

    Jun 18, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    Try using the mod_userdir syntax, which will take you to the respective client site by appending a /~username to the URL, a la:

    Would take you to the document root for the cPanel account "bob."

    Also, sites on a dedicated IP will work without the need for the userdir syntax mentioned above.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice