Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 11-25-2005, 09:54 PM   #1
Registered: Nov 2004
Posts: 127

Rep: Reputation: 20
Lamp Server

hello all!! i am running mandrake 10.0 offical powerpack and have a lamp server running with one site on it, now i want to add another. i have the apache Vhosts.conf configured as such. is this correct?

NameVirtualHost outside ip

DocumentRoot /var/www/html/site1
<Directory "/var/www/html/">
allow from all
Options +Indexes


DocumentRoot "/home/site2"
<Directory "/home/site2">
allow from all
Options +Indexes
with this setup i see the main site when uesing or what i need is to be able to point the second name so it sees the second site folder not the first.. now i have read that i need 2 ip to do this the outside ip and an internal ip. with that said i beleave that i need to have 2 nic cards? if so how do i go about setting this up? i have 2 nic cards installed now and need know what to do next thanks

Old 11-25-2005, 10:02 PM   #2
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Rep: Reputation: 15
You do not need 2 NICs, or more than one IP. I'd recommend that you visit the Apache webiste ( and read up on the documentation a bit before you proceed. That link is to the 2.x documentation. if you're not running 2.x, then browse to the 1.3.x docs instead.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
a lamp server like an appliance stlshawn Linux - Newbie 7 10-09-2005 10:28 PM
My LAMP server (on a laptop) runs very slooow guarriman Linux - General 2 05-25-2005 07:35 AM
setting up a LAMP server in Slackware 10.0 yolopollo Slackware 2 07-23-2004 03:32 PM
on-x Rx linux as a LAMP server violentpurrr Linux - Software 0 06-26-2004 12:33 AM
LAMP with a new server, debian mix_master_mike Linux - General 4 11-17-2003 11:30 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration