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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    211
    Likes Received:
    13
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
Loading...

Share This Page