1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website public_html directory error...

Discussion in 'Web Hosting' started by yanleman, Feb 5, 2013.

  1. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    Hi, I have a website hosted on biz.nf

    Basically i can't get my website to work.

    first, the hosting website tells me that the path that i should follow is public_html

    when i upload my files, i upload them to public_html

    and nothing happens, it says "index of " and i can access to the folder but not to the index itself (WHICH IS IN PUBLIC_HTML)

    So i tried another path , mydomain/public_html

    same thing, wheni go on mydomain i see index of and i can access to the folders.



    So i went in m files manager and just took everything and moved it to the principal folder directory, which is like "..." or something, but it has clearly no name.

    and ONLY when i do that, my website works and the index page shows up correctly.

    Help me pleaseee
     
  2. ice41

    ice41 Power Member

    Joined:
    Aug 18, 2012
    Messages:
    783
    Likes Received:
    248
    Occupation:
    Web Designer
    Location:
    Land of Pineapples
    You should upload it inside of public_html/ and your files must contain index.html or .php / home.html or .php. Btw, is your site static html?
     
  3. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    Waht do you mean static html?
     
  4. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    and i did put it in public_html/ but it does not work. i have been on this issus for about 1 week trying evreything...
     
  5. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    Help me please someone
     
  6. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    My website won't show in google because of that.
     
  7. No.RuleZ

    No.RuleZ Elite Member

    Joined:
    Jul 23, 2010
    Messages:
    1,733
    Likes Received:
    358
    what are u using? wordpress? joomla?
     
  8. yanleman

    yanleman Newbie

    Joined:
    May 13, 2012
    Messages:
    18
    Likes Received:
    0
    I am using dreamweaver. But whatever i am using, i try to go in file manager and change the folders manually and nothing works...
     
  9. themidiman

    themidiman Power Member

    Joined:
    Feb 25, 2011
    Messages:
    701
    Likes Received:
    1,536
    Location:
    root@pts/0
    When you put the files in public_html, and navigate to the site, and it says "index of" and you can see the folders, what folder are you able to see? The public_html folder? If this is the case, it sounds like you are creating an extra public_html folder, which doesn't need to be done. Generally, in cPanel, when you select file manager for a domain, it will put you into public_html by default.

    If this isn't the case, contact your host to ensure the Apache configuration is correct. They may need to rebuild the conf, to ensure apache is pulling from the correct document root.