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.

Index Of

Discussion in 'General Discussion' started by suaking, Jun 30, 2007.

  1. suaking

    suaking Registered

    Joined:
    Jun 30, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi @ All

    I just setup my server but when I URL my site what I see is ( INDEX OF )
    WHAT DO I HAVE TO DO LEFT
    SEE WHAT I MEANtS, PLEASE.

    http://www.suaking.com

    I appreciated Any Help.


    Thanks.

    suaking
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Hi,

    Create a .htaccess file in your public_html directory and place the below line:

    DirectoryIndex index.html

    Make sure that index.html is a file and not a directory and should be uploaded under public_html directory.
     
  3. suaking

    suaking Registered

    Joined:
    Jun 30, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thank you boddy for your answer, I'll try that and let you know.

    thanks

    Suaking
     
  4. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    might not be the case

    that should work

    I noticed however your index.html file is

    index.html/

    if you change that file name - it should work for you

    change it to index.html

    :)

    since http://www.suaking.com/postinfo.html works - most likely index.html would work provided you get rid of the / on the file index.html/
     
  5. suaking

    suaking Registered

    Joined:
    Jun 30, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    HI.

    .htaccess is already there with permission 644

    thanks

    suaking
     
  6. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Hi,

    Just noticed that there is no index file at the moment. Create one with the name as

    index.html

    without any '/' or anything. It should just be named as index.html

    That should work. If it doesn't, edit the .htaccess file and place the below line:

    DirectoryIndex index.html
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should contact your hosting provider for support. Sounds like the servers not completely setup correctly. If you have root, what is the result of this command.

    /usr/sbin/apachectl configtest
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    oops. my mistake :p
     
Loading...

Share This Page