Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Add Files In Subdomain
itssami
post Jan 10 2006, 09:04 PM
Post #1


Super Member
*********

Group: Members
Posts: 258
Joined: 13-November 05
Member No.: 14,234



Hello..
I have created a subdomain , now i want to upload files in it , i have all files in a folder in my computer.I want that they look something like
http://subdomain.domain.com
http://subdomain.domain.com/folder1
http://subdomain.domain.com/folder1/file1.html

Can you please tell me how i can do it , if i have folder in my computer , and there are all files in that folder , can i upload that folder ? or i will have to upload different folders?
Go to the top of the page
 
+Quote Post
bucksta
post Jan 10 2006, 10:08 PM
Post #2


Advanced Member
*******

Group: Members
Posts: 127
Joined: 6-December 05
Member No.: 15,438



just drag and drop the main folder where all the other folders and filess are and it will look like this: subdomain.domain.com/folderyouchose/someotherfolder/file.htm. or if you want it to look like subdomain.domain.com/file.htm just upload the contents of the main folder into the public_html/www directory.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 10 2006, 11:05 PM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,076
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Here is a link to a tutorial which explains using zip files how to upload a bunch of files and folders.
http://www.trap17.com/forums/page-1-t23181-s0.html

Go to the top of the page
 
+Quote Post
bucksta
post Jan 11 2006, 02:41 AM
Post #4


Advanced Member
*******

Group: Members
Posts: 127
Joined: 6-December 05
Member No.: 15,438



that works too. i never knew that method. thanks jlhaslip.
Go to the top of the page
 
+Quote Post
frederick.ding
post Jan 16 2006, 12:21 AM
Post #5


Member [Level 1]
****

Group: Members
Posts: 50
Joined: 3-October 05
Member No.: 12,494



Actually, if you're using a domain of your own and you've created a subdomain (hence subdomain.domain.com or subdomain.example.com), then the files associated with that subdomain are in a folder of the same name, located in "public_html". Of course, if you're referring to subdomain.domain.com simply as username.trap17.com, then what I just said doesn't apply.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 16 2006, 12:46 AM
Post #6


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,076
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Well, yes, actually, what you just said does apply.
When you create a sub-domain on the cpanel, it creates a seperate folder for the sub-domain and the files for that sub-domain should go in to that folder.
BUT simply making a folder does not create a sub-domain.
You must access the cpanel and specificy that you wish to create a sub-domain for the sub-domain features to apply for a folder.

Example :
my_sub.username.trap17.com --> using cpanel you create a sub-domain, then store the files in public_html/my_sub folder and allow access to the sub-domain using the url
CODE

http://www.my_sub.username.trap17.com


On the other hand, if you simply create a folder named "public_html/folder" and place files into it, then attempting to access
CODE

folder.username.trap17.com

will result in an error "server not found". The correct way to access those files would be:
CODE

http://www.username,trap17.com/folder/filename


Gets confusing sometimes.


Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Uploading Files And Connecting To Ftp(27)
  2. Subdomain Not Working?(3)
  3. Problems With Ftp(10)
  4. Redirecting Or Forwarding Subdomain To Domain(5)
  5. What Do 1st Files In Ftp Do?(1)
  6. Unzipping (untar) Tar Files(5)
  7. Question About Uploading Files(3)
  8. Making The Files In File Manager Invisible(8)
  9. I Need Help Uploading The Install Files(3)
  10. Upload Script To Transfer Files From Laptop To Desktop(3)
  11. Problems With Deleting Files In My Account(3)
  12. I Am Having Problems With My Cpanel And Ftp(5)
  13. Accidentally Deleted Pre-set Files(3)
  14. Need Help Installing Smf(5)
  15. Help! I Deleted All My Files!(5)
  1. Making Changes To Subdomain Name(2)
  2. Upgrading From Subdomain To Domain(2)
  3. Can't Find My Fantastico Installation!(2)
  4. Ftp Trap17 Account Help Please(14)
  5. Transferring Files From One Host To Another(8)
  6. The Subdomain Of The Subdomain Non-accessible? [resolved](7)
  7. Change Your Domain/subdomain (question)(13)
  8. If I Add A Domain Do I Still Have The Subdomain?(2)
  9. My Subdomain Not Working(3)
  10. Where Do I Upload My Ftp Files? [resolved](1)
  11. Safe Mode Of Php Configuration(4)
  12. Css Problem On Website(8)
  13. Domain Name On Subdomain?(6)


 



- Lo-Fi Version Time is now: 6th October 2008 - 02:37 PM