
22nd February 2010, 16:33
|
|
Junior Member
|
|
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

22nd February 2010, 19:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

23rd February 2010, 00:00
|
|
Junior Member
|
|
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

23rd February 2010, 09:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

23rd February 2010, 10:10
|
|
Junior Member
|
|
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
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.
|

23rd February 2010, 11:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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
|

23rd February 2010, 11:20
|
|
Junior Member
|
|
Join Date: Feb 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you! That is very helpful of you  .
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:03.
|
Recent comments
9 hours 39 min ago
14 hours 38 min ago
16 hours 4 min ago
16 hours 57 min ago
18 hours 40 min ago
23 hours 3 min ago
23 hours 56 min ago
1 day 2 hours ago
1 day 15 hours ago
1 day 16 hours ago