Website public_html directory error...

yanleman

Newbie
Joined
May 13, 2012
Messages
18
Reaction score
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
 
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?
 
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...
 
My website won't show in google because of that.
 
I am using dreamweaver. But whatever i am using, i try to go in file manager and change the folders manually and nothing works...
 
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.
 
Back
Top