SpotBuzzer Posted January 22, 2012 Report Share Posted January 22, 2012 Hey everyone, Im new at creating websites/hosting etc. and Im trying to learn as much as I can as I go instead of just paying someone to get it done. My latest roadblock is creating sub-directories for my website. I recently purchased a directory/classifieds script and would like to add it to my website but under a sub-directory. How do I create this directory. In my cPanel account I've seen adding a domain/ sub-domain but I don't want that. I want to create i.e. www.mysite.com/directory - how do i get that done? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
kuemerle5 Posted January 22, 2012 Report Share Posted January 22, 2012 All you need to do is create a folder, say "classifieds" in "/home/[username]/public_html" which is where the all of the files of your main website most likely reside. That folder will then be accessible through "www.yoursite.com/classifieds". Hope this helps! Quote Link to comment Share on other sites More sharing options...
SpotBuzzer Posted January 22, 2012 Author Report Share Posted January 22, 2012 Thanks for your quick reply! Correct me if I'm wrong ... the folders I create are representative of the directories I have? Im asking because now on my temp. site I have folders titled css, images, scripts etc., should they be like that or should all be in one folder because the template Im using is a one page template. For this script that I want to install all of the files in the zip I downloaded should go in the folder I will create? Quote Link to comment Share on other sites More sharing options...
fshagan Posted January 22, 2012 Report Share Posted January 22, 2012 Thanks for your quick reply! Correct me if I'm wrong ... the folders I create are representative of the directories I have? Im asking because now on my temp. site I have folders titled css, images, scripts etc., should they be like that or should all be in one folder because the template Im using is a one page template. For this script that I want to install all of the files in the zip I downloaded should go in the folder I will create? Yes, just create the folder /home/<username>/public_html/classifieds using either an FTP program or the built-in FileManager in cPanel, then install / upload your program into that folder. When you visit http://www.<your-domain-name.com>/classifieds the "index.<php | htm | html>" file of your installed program will run and display the program. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.