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!

I can not access the domain directly

Discussion in 'General Discussion' started by sunnyton, Mar 27, 2017.

  1. sunnyton

    sunnyton Registered

    Joined:
    Mar 27, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    I can access my site correctly using mod_userdir example: mydomain.com/~myacountdomain

    But if I try to access directly from my domain for example

    Mydomian.com

    Appears
    Default Web Site Page
    SORRY!
    If you are the owner of this website, please contact your hosting provider:
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    267
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    make sure you have correct IP configured in DNS as long httpd.conf , The document root of website should be set to /home/username/public_html

    while browsing the website see if you are getting any errors at /usr/local/apache/logs/error_logs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You should check to ensure the domain name resolves to the same IP address that's assigned to the account.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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