Add this to your httpd.conf
NameVirtualHost ipaddres(ie 10.10.10.10)
<VirtualHost 10.10.10.10:80>
DocumentRoot /path/to/html/
ServerName www.myfirstvhost.com
</VirtualHost>
<VirtualHost 10.10.10.10:80>
DocumentRoot /path/to/html/
ServerName www.mysecondvhost.com
</VirtualHost>
Let me know if you have any problems.
Cecil
----- Original Message -----
From: Edwin Casimero @PLUG <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 7:08 PM
Subject: [expert] virtual domains same ip address
> Questions:
> How can I have multiple domain names using 1 IP Address?
> We have some around 5 companies.
> I have a linux server.
> I have 1 assigned IP address.
>
> #1)
> I want the 5 companies with registered domains to share the
> 1 IP address. (we don't receive that much traffic.)
> How?
>
> #2)
> I'm thinking of 3rd level domains. Say dept1.mycompany.com,
> dept2.mycompany.com. That way I don't need to pay the
> internic fee. Can I also do the same in my Linux Machine?
>
> Need expert help.
> I don't think this is a newbie question.
>
> Thanks in advance.
>