Users


#1

i’m trying to create a new address/user such as http://mydomainhere.com/newaddress/ or http://newaddress.mydomainhere.com which i can log into on ftp. i created a user and it lets me log in but when i try to upload to the new user, nothing comes up.


#2

domains are owned by users, meaning the site is served from /home/username/example.com/

if you want a different user to ftp to a subdomain, you can set that subdomain to be fully hosted under that user’s account, which would mean your first user doesn’t have access to the files, but puts the second user in /home/user2/ for ftp, and the site is served from /home/user2/subdomain.example.com/

track7 - my dream-hosted site


#3

Or alternately if you want a subdirectory to be managed by another user you can either use soft links or the “Remap Sub-Dir” page on the control panel to point a section of your site to a directory in another user’s directory structure.

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#4

okay so say the user was named ‘user1’ and i’m going to use the remap page. would the fully hosted url i want to remap be /home/user1/mydomainhere.com ? and then i would change the user on the next page??


#5

Do you want user1 to manage their own whole subdomain or do you just want them to manage a subsection of your domain?

From your example, do you want them to manage:

  1. http://user1subdomain.myoriginaldomain.tld/
    OR
  2. http://myoriginaldomain.tld/user1section/

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#6

i’d want them to basically manage their whole subdomain - #1. not from the control panel or anything, but from their ftp.


#7

Then you want to do what MisterHaan suggested:

[quote]domains are owned by users, meaning the site is served from /home/username/example.com/

if you want a different user to ftp to a subdomain, you can set that subdomain to be fully hosted under that user’s account, which would mean your first user doesn’t have access to the files, but puts the second user in /home/user2/ for ftp, and the site is served from /home/user2/subdomain.example.com/[/quote]
So you want the following two hosted domains/subdomains:
http://mydomainhere.com/ hosted by kdev in /home/username/mydomainhere.com

And:
http://newaddress.mydomainhere.com/ hosted by user1 in /home/username/newaddress.mydomainhere.com

Note that because the ftp/cgi-runs-as user is different, the actual resolution of /home/username will be different - the actual directories will be:
/home/kdev/mydomainhere.com and
/home/user1/newaddress.mydomainhere.com

Note that your original userid, kdev, will not have access to the files in user1’s directory unless you change groups and access priviledges, etc. And even if you do make those changes, you will have to use the shell or SFTP to access the files, not FTP.

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#8

thanks a lot, i was trying to add a subdomain by just adding the user - which was my mistake. you helped a lot :slight_smile: