Thread: Cpanel???
View Single Post
  #10 (permalink)  
Old 10-02-2009, 03:43 PM
sequencehosting's Avatar
sequencehosting sequencehosting is offline
Ultimate Babbler
 
Join Date: Jun 2009
Location: Kent, England
Posts: 1,340
sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)
Default

Not a problem at all. That’s very nice of you thank you.

Yeah I understand there is allot to take in and since posting this thread I’m sure you understand allot more than you did.

My first question is do you mean sub-domain or sub-folder? They will both look the same inside file manager but the sub-domain would have been created inside cPanel. Secondly do you want to display these images on a page? Or do you just wish to upload these images to that folder?

Most people including me will have a folder called images inside the “public_html” directory and upload every image to this folder. You will not need to upload images to every folder you create.

The public_html is only a folder which will contain your website. It will never need to be created again. Ok I see what your saying. It depends what you would like to do.

For example mydomain.com/reviews is just a folder. This is an example from my own website https://www.sequencehosting.com/images/ what I linked to is a folder called “images” inside my directory. You can see there is files inside this directory but a web page does not show. If I wanted a web page to show by visiting this link I would need to add a index.html file inside the “images” folder.

Think of the public_html directory as the folder of your main domain (domain.com). Since this is a folder the index.html is needed so when you view (domain.com) it shows the index.html page. It is exactly the same for the folder but some folders will not need a index.html file because the folder is just used to store files. For example the link I posted is to my images folder. This folder is used to store my images, visitors to my site will never need to go to sequencehosting.com/images so I do not have an index.html file inside that folder.

So what files are you adding inside this folder? Also how would you rather structure your website?

If you have a home page displaying articles you may wish to create a folder called articles and link directly to each article from the home page in this case you do not need a index.html file inside the articles folder.

Using that same example your home page is displaying articles you may wish to link to yourdomain.com/articles to display a web page showing your most popular articles. In this case you will need to add a index.html file in the articles folder.

---

Index.html = The web page for the folder.

Yourdomain.com is the index.html file inside your public_html

If you have a folder called articles. The index.html file inside the articles folder will be the web page when you visit

Yourdomain.com/articles

Above I have tried many ways of explaining it. The best way of understanding it is to look at my explaination underneath the ---
__________________
Professional Website Hosting - Now Hosting Over 75 Websites! >Testimonials<
Professional cPanel Web Hosting from $1/month!
Our Disk Space and Bandwidth Has Been Doubled! Learn More
WEBSITE BABBLE SPECIAL! FREE Domain! - FREE Wordpress Setup! - 24 Hour Support
Reply With Quote