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.

Files not accessible via domain

Discussion in 'General Discussion' started by norbumashraf, Jan 28, 2015.

  1. norbumashraf

    norbumashraf Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hi,

    I am new here and not an expert in the game. I am stuck and need your help.

    I had set a VPS with godaddy. Have resellers, user accounts, etc... In one account I am not able to see the files via the pointed domains...

    domain/index.html is not loading...
    host/~uname/index.html is working fine...

    No .htaccess is set. Can you please let me know other possible reasons please...

    Thanks in advance
    Norbu
     
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    using something like MXTOOLBOX.com, can you see that DNS has propagated.
     
  3. norbumashraf

    norbumashraf Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    I am able to access domain/cpanel and domain/whm but not domain/index.php
    Even pinging the domain is giving the desired ip...
     
  4. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Just to be certain, you have a public_html folder and index.php is in there.
    Failing that, have you tried clearing the browser cache. ?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any error messages when accessing the website? Did you upload your website files to the public_html directory of the account?

    Thank you.
     
  6. norbumashraf

    norbumashraf Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Dear Keat63,

    The file is uploaded correctly...
    Working: /http://ip/~username/index.php
    Not working: /http://domain/index.php
     
  7. norbumashraf

    norbumashraf Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Dear Michael,

    The file is uploaded correctly to public_html

    Working: http://ip/~username/index.php
    Not working: http://domain/index.php

    The error message that I am getting is..

    -------------
    404 Not Found

    The server can not find the requested page:

    DOMAIN/index.php (port 80)
    Please forward this error screen to DOMAIN's WebMaster.

    Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.0-fips mod_bwlimited/1.4 PHP/5.4.29 Server at DOMAIN Port 80
    -------------
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. norbumashraf

    norbumashraf Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Support Request Id 6062187 - File not loading via HTTP
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this was corrected by updating the document root to the user's preferred path in the cPanel user data file for this domain name, and then rebuilding the Apache configuration file via:

    Code:
    /scripts/rebuildhttpdconf
    Thank you.
     
Loading...

Share This Page