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!

SOLVED Need to access a website without entering domain

Discussion in 'General Discussion' started by Roberto Lito, Mar 17, 2019.

  1. Roberto Lito

    Roberto Lito Registered

    Joined:
    Nov 18, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas.USA
    cPanel Access Level:
    Root Administrator
    I need to be able to check a website by using:
    http://ip/~username/
    since the DNS for the domain is not yet directed to this server.
    I have access to WHM and have control of mod_userdir Tweak
    but I have not succeeded in tweaking mod-userdir

    mod_userdir Tweak appears with this text in a yellow rectangle:

    "mod_userdir is disabled Web server processes on this system currently run as the user. For security reasons, the system disabled mod_userdir. Any changes that you make in this interface will not take effect until you enable mod_userdir. To use mod_userdir, you must disable mod_ruid2, mod_itk, and mod_passenger and recompile EasyApache."

    I don't know how to interpret the above text and whether I should have mod_userdir enabled or disabled for http://ip/~username/ to work.
    I have unchecked: Enable mod_userdir Protection
    I have also checked on Exclude protection on Default Host(nobody) and other domains.
    What do I have to do in WHM ? Or is there a simpler way to browse files in the public.html directory of the account ?





     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,827
    Likes Received:
    476
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,370
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    I agree with info pro here. You can modify your local hosts file to override the internet DNS for your local workstation and access the site on the new server as if the DNS were live.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Roberto Lito likes this.
  4. Roberto Lito

    Roberto Lito Registered

    Joined:
    Nov 18, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas.USA
    cPanel Access Level:
    Root Administrator
    Thank you. That helped.
     
Loading...

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