View Single Post
  #4  
Old 9th November 2005, 15:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,670
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

Yes, maybe the selection of components is something for an expert mode

Here is the database table i thought of:

CREATE TABLE server (
server_id bigint(20) NOT NULL auto_increment,
server_name varchar(255) NOT NULL default '',
mail_server int(11) NOT NULL default '0',
web_server int(11) NOT NULL default '0',
dns_server int(11) NOT NULL default '0',
file_server int(11) NOT NULL default '0',
mysql_server int(11) NOT NULL default '0',
postgresql_server int(11) NOT NULL default '0',
firebird_server int(11) NOT NULL default '0',
active int(11) NOT NULL default '1'
) TYPE=MyISAM;

On a single server setup there will be only one record in the server databasetable with all services set to 1 (mail_server, web_server,...). On a multiserver setup, the installer adds a record / row for every server that is part of this installation and sets the capabilities of the server (e.g only web_server = 1 for an apache only server). In the ISPConfig interface, you select "Add Website" and then you can select on which of the servers with the web_server capability the website shall be hosted. If you are a reseller, you may be limited to one server though.

Last edited by till; 9th November 2005 at 15:11.
Reply With Quote