[us...@httpd] Two Sites on Apache

2010-06-23 Thread Carlos Mennens
I have a single CentOS server with two separate NIC's. I was asked to install an internal Wiki on Apache but have that dedicated to one NIC so it's internal only. Then have just a site running on Apache on the 2nd NIC which is externally accessible. I have never done anything like this and would

Re: [us...@httpd] Two Sites on Apache

2010-06-23 Thread Nick Kew
On 24 Jun 2010, at 00:01, Carlos Mennens wrote: I have a single CentOS server with two separate NIC's. I was asked to install an internal Wiki on Apache but have that dedicated to one NIC so it's internal only. Then have just a site running on Apache on the 2nd NIC which is externally

Re: [us...@httpd] Two Sites on Apache

2010-06-23 Thread Tapas Mishra
Its very easy. 1) Which OS you are using. 2) I am giving this for Ubuntu in /etc/apache2/sites-available directory you need to create 2 files lets say you have two sites www.example1.com www.example2.com So you need to have two files in /etc/apache2/sites-available the name of files are