#1  
Old 22nd February 2010, 17:33
zepx zepx is offline
Junior Member
 
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default VirtualHost + FTP

Hi,

I'm running on Ubuntu 9.10 server.

One thing I noticed about installing ISPConfig is that the FTP doesn't point to /var/www. I know this must be configured manually. How can this be done?

Also, I noticed that each time I create a new domain, it is automatically placed in /var/www. How can I configure it in such a way that each time I create a new domain, it would automatically be pointed to /home/username/public_html?

Thank you in advanced,

Regards,
Zepx
Reply With Quote
Sponsored Links
  #2  
Old 22nd February 2010, 20:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

Quote:
One thing I noticed about installing ISPConfig is that the FTP doesn't point to /var/www. I know this must be configured manually. How can this be done?
This makes no sense as you would not be able to access the data of the websites then. A FTP user always points to the website directory of the website he belongst to.

Quote:
Also, I noticed that each time I create a new domain, it is automatically placed in /var/www. How can I configure it in such a way that each time I create a new domain, it would automatically be pointed to /home/username/public_html?
You cant. ISPConfig is a hosting control panel and uses its own directory structure to manage websites. It is not made to create website for existing linux system users.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd February 2010, 01:00
zepx zepx is offline
Junior Member
 
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply.

Then may I know how do you upload/manage your website? Since ISPConfig 3 does not come with a file manager, I have to use a FTP Client. By default installation, I noticed that when I login using the client's account (FTP connection), the directory retrieved is /home/myclientname/ whilst the files are all locataed at /var/www/ How can I link them?

Each time I create a new client, the Pure-FTPD accounts always points to /home/somenewuser and my the files are located at /var/www/somewebsites.com/

Actually I want to replicate Directadmin's structure.
Reply With Quote
  #4  
Old 23rd February 2010, 10:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

Quote:
I noticed that when I login using the client's account (FTP connection), the directory retrieved is /home/myclientname/ whilst the files are all locataed at /var/www/ How can I link them?
Then you dont use ISPConfig 3 on this server.

All websites are located in /var/www/domain.com/web and all FTP users that you create in ispconfig for a website have a home directory of /var/www/domain.com/

Quote:
Actually I want to replicate Directadmin's structure.
This is ISPConfig and not direct admin. ISPConfig has its own layout for websites which is different from directadmins layout. You better use directadmin if you want to use their layout.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd February 2010, 11:10
zepx zepx is offline
Junior Member
 
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Then you dont use ISPConfig 3 on this server.

All websites are located in /var/www/domain.com/web and all FTP users that you create in ispconfig for a website have a home directory of /var/www/domain.com/
Then say, if I want to change everything created to /home/domain.com/web or somewhere else, is this possible? Not manually but for every new domain added.

Quote:
This is ISPConfig and not direct admin. ISPConfig has its own layout for websites which is different from directadmins layout. You better use directadmin if you want to use their layout.
I'm just trying to replicate it, but that does not mean only directadmin uses this method. I believe even cpanel does it, and some people who believe strongly believe that the folders should not be located in /var as it might soon get too filled up with error logs.
Reply With Quote
  #6  
Old 23rd February 2010, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

Quote:
Then say, if I want to change everything created to /home/domain.com/web or somewhere else, is this possible? Not manually but for every new domain added.
You can set the website base folder from /var/www to /home in the server settings in ispconfig. You have to set this before you create the first website. But you should be aware that the apache packages of the linux distributions will not allow you to use suexec then anymore. There are good reasons why ISPConfig uses /var/www and not /home.

Quote:
I'm just trying to replicate it, but that does not mean only directadmin uses this method. I believe even cpanel does it, and some people who believe strongly believe that the folders should not be located in /var as it might soon get too filled up with error logs.
1) If its not located in /var/www, you cant use suexec with the apache packages coming with the linux distributions.
2) If you are afraid that /var fills up with logs, simply create a own partition for /var/log
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 23rd February 2010, 12:20
zepx zepx is offline
Junior Member
 
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thank you! That is very helpful of you .
Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow download from own FTP (vsftpd + proftpd) Overcrook Installation/Configuration 0 12th January 2010 22:41
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 20:34
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 20:38
Website users? ctroyp General 25 6th January 2006 19:02


All times are GMT +2. The time now is 09:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.