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!

Index of when trying to upload site

Discussion in 'General Discussion' started by CCC3, Apr 9, 2019.

  1. CCC3

    CCC3 Registered

    Joined:
    Apr 9, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner
    Hello,
    I am new to this process. I've uploaded all my files into the public_htm folder. When i go to the internet and type in my sites name. I am getting the Index of? and it is showing all of my files. I have an index.html uploaded. Not sure why it isn't showing my site. If this question has been answered all ready please tag me in that post.

    Thanks
    C3
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,464
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @CCC3

    I'd first ensure that the provider has set .html as an available option for the DirectoryIndex directive, you may be able to add the following to an .htaccess file to ensure it's recognized:
    Code:
    DirectoryIndex index.php index.html index.htm
    
    I'd also check that the index.html has the correct ownership/permissions.
     
    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