Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2006, 11:21 AM
moutnbkr's Avatar
Registered User
 
Join Date: Aug 2006
Posts: 2
moutnbkr is on a distinguished road
A little help with subdomains please....

I am having someone put photos up for a high school football site and need to restrict their access to that photos folder only. So I made a sub-domain /photos with redirect and then setup an ftp address for photos with username and password. Don't know if that's correct, but that's what i was told.

So please help if you can, I am trying to access that folder with the username and password and it won't work. Tried several different ways.

Please tell me step by step....will give address if needed. Thanx!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-30-2006, 11:30 AM
serversphere's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 652
serversphere is on a distinguished road
Make sure the username you are using is username@domain.tld -- just username doesn't work iirc...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-30-2006, 11:53 AM
moutnbkr's Avatar
Registered User
 
Join Date: Aug 2006
Posts: 2
moutnbkr is on a distinguished road
Wink did the @ thing....

did the username@mydomain.com thing and still didn't work. I think I'm having trouble with the url and not the username. too easy, photos@mydomain.com. It tells me the url is ftp.mydomain.com, but it also says http://photos.mydomain.com and http://www.mydomain.com/photos.mydomain.com.....getting confused and frustrated.

If the sub-domain is /photos, then do you know what the url is i put in the ftp program? Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-30-2006, 12:11 PM
Registered User
 
Join Date: Oct 2005
Posts: 3
Shortz is on a distinguished road
Post How it should be done..

moutnbkr, here is how it should be setup. this should give you a better understanding of how to setup subdomains with ftp restrictions to the subdomain folder.

1.Log in to Cpanel

2.Setup subdomain account eg photo.my.com (my.com being your domain). to use a folder called "photo" in your main domain, so the sudomain is photo.my.com but can also be accessed via my.com/photo
(Subdomains)
Enter "photo" so it becomes photo.my.com
click add.
Subdomain should now be added.
This also adds a folder called "photo" in your "public_html" folder

3. Add their FTP account.
(FTP Manager > FTP Accounts > Add FTP Account)
Login: photo
Password: apassword
Quota: (put a quota here if needed, in MB)
Directory: /home/username/public_html/photo
(username is your cpanel username)
Directory is on photo due to the subdomain directory you setup being "photo".

Once thats done, you should be finished.
then they can login to your ftp via an ftp program.
EG : for the above details the login details would be...
ip = ftp.my.com (or just my.com)
user = photo@my.com (username you setup for the ftp followed by @ then followed by your domain)
password = apassword

Job Done
Hope this gives you a little more insite to understanding it.
Any problems, post a reply
~Shortz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-01-2006, 01:25 AM
Registered User
 
Join Date: Aug 2006
Posts: 3
fontu is on a distinguished road
See some good information about sub-domain

See some good information about sub-domain. Recently I searched about setting subdomain & according the informations I set one account & uploaded big files there without knowing any consequences via subdomain ftp account.Now I see all those files though available in the subdomain folder under public_html & www but actually few pages come up though http://subdomain.domain.info or http://www.subdomain.domain.info and most come in http://www.domain.info/subdomain urls. I was not aware of the quota & now allocated quota to unlimited & now all pages that I uploaded goes to my subdomain site.

Now how can I shift all my files to exclusively use for the subdomain url (http://subdomain.domain.info) ?

thanks
fontu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-29-2006, 07:06 AM
Registered User
 
Join Date: Aug 2006
Posts: 113
angelina_holy is on a distinguished road
You or your fellow site developers may need to transfer files from a computer to the computer that contains your web site. If you need to transfer many files, using an FTP client is the quickest way to accomplish this. In the FTP Manager, you can create FTP accounts, which allow users to access the files of your web site with an FTP client.


Steps
1 To access the FTP Manager, click on the icon above the words FTP Manager on the main screen of your cPanel interface.

2 Click on FTP Accounts.

3 To add an FTP account, click on Add FTP Account.

4 Enter the username for the new FTP account in the blank field next to Login:

5 Enter the password for the new FTP account in the blank field next to Password:

6 Enter the directory which the account will have access to in the blank field next to Directory:

NOTE: Enter / in this field will give the user access to /public_html/ and all subdirectories of /public_html/ for your account.

7 Click on Create to create the new FTP account.



NOTE: If the account was created, the following will appear (except user will be the username you have provided for the new account, and password will be the password you have provided for the new account) :
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc