VDS Sphera Knowledge Base

Main / Browse Categories / FTP / How can I add a user that would like to view his/her content seperately from the main web site?

Print article Print Article    Email article Email Article

How can I add a user that would like to view his/her content seperately from the main web site?
There are two things that you need to do to allow a seperate user to have their own seperate web space.

First, create a user and point his/her directory to "/your/path/to/your/files".

You can do this by logging into the control panel, clicking on the "Email/FTP" button in the menu on the left, and clicking the "New Email/FTP" button in the center of the page. Then change the Home Directory from "/ftp/pub/username" to "/your/path/to/your/files" (without quotes).

Second, create a script alias that points to this directory.

You can do this by clicking on the "Domain Settings" button in the menu on the left (if logged into your control panel), clicking the "Web Aliases" Tab near the top of the page, clicking on the domain that you want to add this alias to (if it is not your original alias), and clicking the "New Alias" button near the center of the page. Leave the Alias option checked, place /~username in the URL Path textbox and "/your/path/to/your/files" (without quotes) in the Absolute Path name text box.

If you are doing this for a domain other than your original domain, you must add this alias for both domains (yourdomain.com AND www.yourdomain.com).

Now your user can see this user's files by going to http://www.yourdomain.com/~username

User Comments
How can I add a user that would like to view his/her content seperately from the main web site?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 How do I setup anonymous FTP access?
 How do I setup accounts with the FTP home directory at /var/www/html?
 Can you recommend SSH, SFTP, or FTP software?
 I can connect through FTP, but I cant upload anything. Whats Wrong?
 How can I set FTP account passwords to contain non-alphanumeric characters and to be longer thant 8 characters?

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »