MDDHosting Forums: Creating a Subdirectory? - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Creating a Subdirectory?

#1 User is offline   SpotBuzzer 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 28-October 11
  • Gender:Female
  • Location:The Bahamas

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!
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?!
0

#2 User is offline   kuemerle5 

  • Member
  • PipPip
  • Group: Clients
  • Posts: 70
  • Joined: 18-October 09
  • Gender:Male

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!
0

#3 User is offline   SpotBuzzer 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 28-October 11
  • Gender:Female
  • Location:The Bahamas

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?
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?!
0

#4 User is offline   fshagan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 10-January 11

Posted 22 January 2012 - 04:38 PM

View PostSpotBuzzer, 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?


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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users