Apache, and cPanel by extension, offers a feature enabling users to access their user directories via the server's IP address or the server's hostname. The URLs appear like this:
This feature isn't always wanted. To disable it, read below.
- Log into WHM
- Navigate to "Apache mod_userdir Tweak" in the "Security" section or via the search
- Uncheck "Exclude Protection" from "DefaultHost (nobody)"
- Click "Save"
To learn more about mod_userdir and how to access webpages without updating your DNS records, click here.