> -----Original Message-----
> From: Gregg Llloyd [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 01, 1999 12:52 AM
> To:   [EMAIL PROTECTED]
> Subject:      2 Ip adresses + a www adress  for my Apache Web server
> 
> Hi,
> I have Redhat 5.2, and Apache is installed on it.
> I can view my web site by http://Localhost or http://192.x.x.x.,
> But I have 2 questions:
> 1. how can I assign 2/3 IP adresses to my web server?
> Exple: My web server can be http://192.x.x.x and at the same time
> http://192.y.y.y??
> 
        [Luijpen, Alexander van]  Either use multiple NICs in you machine or
configure IP aliasing to duplicate your normal eth0 device into eth0:0
eth0:1 etc etc

> 2. Instead of http://Localhost, I want people to access my web server
> as http://www.mycompany.com. How to do that?
> 
> I know that Apache config files are in /etc/httpd/Apache/, than you have 
> files like http.conf, etc...But what files to configure and how
> please (In relation with  the above 2 questions) ?
> 
        [Luijpen, Alexander van]  This does not require you to change the
apache setup, but rather the name lookup issue. 
        If your users are connected thru a LAN, you can do a few things: 
                1. If there is only a small number of hosts on the LAN, you
can modify all /etc/hosts files (or \WINDOWS\HOSTS for Windos clients) and
add an entry like '192.x.x.x    www.mycompany.com' on all systems.
                2. If there is allready DNS configured for your LAN, you can
ask the sysadmin of the network to add your system to their DNS 
                3. If there is no DNS configured yet, you can install it on
your linux box - get BIND and install/configure it. Also configure all
clients to use 192.x.x.x as primary DNS server.

        If your users are connected thru the internet, you need to register
the domain officially, contact your ISP for this.
        If your users are all connected locally and the system is not on any
network, all you have to do is add the entry of www.mycompany.com to
/etc/hosts.

Vriendelijke Groeten / Kind Regards,

Alexander van Luijpen

Philips Semiconductors Nederland
Test and Product Engineering 
MOS4YOU - C075 OTP / Consumer Systems Nijmegen - BL Video

email: [EMAIL PROTECTED] email: [EMAIL PROTECTED]
tel: (+31)-24-353 4639                                             tel:
(+31)-24-378 9475

Let's make things better



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to