MDDHosting Forums: Creating a Subdirectory? - MDDHosting Forums
Page 1 of 1
Creating a Subdirectory?
#1
Posted 22 January 2012 - 12:54 PM
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!
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!
Need a vacation? ... You should come to The Bahamas!
Visit BahamasSpotBuzzer.com to see what The Bahamas and it's people has to offer!
Visit to see why so many celebs like Beyonce and Jay-Z, Sir Sean Connery, Mariah Carey vacation or own second homes in The Bahamas. Come see why many movies/t.v. shows has been shot here like Pirates of the Caribbean, Miss World etc.
Click to find out what's all the buzz about?!
Visit BahamasSpotBuzzer.com to see what The Bahamas and it's people has to offer!
Visit to see why so many celebs like Beyonce and Jay-Z, Sir Sean Connery, Mariah Carey vacation or own second homes in The Bahamas. Come see why many movies/t.v. shows has been shot here like Pirates of the Caribbean, Miss World etc.
Click to find out what's all the buzz about?!
#2
Posted 22 January 2012 - 01:08 PM
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!
#3
Posted 22 January 2012 - 02:04 PM
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?
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?
Need a vacation? ... You should come to The Bahamas!
Visit BahamasSpotBuzzer.com to see what The Bahamas and it's people has to offer!
Visit to see why so many celebs like Beyonce and Jay-Z, Sir Sean Connery, Mariah Carey vacation or own second homes in The Bahamas. Come see why many movies/t.v. shows has been shot here like Pirates of the Caribbean, Miss World etc.
Click to find out what's all the buzz about?!
Visit BahamasSpotBuzzer.com to see what The Bahamas and it's people has to offer!
Visit to see why so many celebs like Beyonce and Jay-Z, Sir Sean Connery, Mariah Carey vacation or own second homes in The Bahamas. Come see why many movies/t.v. shows has been shot here like Pirates of the Caribbean, Miss World etc.
Click to find out what's all the buzz about?!
#4
Posted 22 January 2012 - 04:38 PM
SpotBuzzer, on 22 January 2012 - 02:04 PM, said:
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?
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-dom...om>/classifieds the "index.<php | htm | html>" file of your installed program will run and display the program.
Share this topic:
Page 1 of 1

Help











