|
|
|
|
![]() ![]() |
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? |
|
|
|
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.
|
|
|
|
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: [MODERATOR] Posts: 4,076 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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 |
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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: [MODERATOR] Posts: 4,076 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th October 2008 - 02:37 PM |