Jump to content
xisto Community
Sign in to follow this  
itssami

How To Add Files In Subdomain

Recommended Posts

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://forums.xisto.com/no_longer_exists/
http://forums.xisto.com/no_longer_exists/
http://forums.xisto.com/no_longer_exists/

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.


 

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


folder.username.trap17.com

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


username.trap17.com/folder

Gets confusing sometimes.


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.