-----Mensaje original-----
De: Gregg Llloyd <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: Lunes 31 de Mayo de 1999 21:15 PM
Asunto: 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??
For example: (I'm supposingg you have a 2.0.x kernel...)
ifconfig eth0 192.x.x.x broadcast ... netmask ... etc..
ifconfig eth0:0 192.y.y.y ...
ifconfig eth0:1 192.z.z.z
(See the IP-Aliasing mini howto on /usr/doc/HOWTO/mini)
>
>2. Instead of http://Localhost, I want people to access my web server
>as http://www.mycompany.com. How to do that?
There are several ways... one of them is creating an entry on /etc/hosts or
c:\windows\hosts with the line:
192.x.x.x www.mycompany.com
but if you have too many clients it would be better to have a DNS server
providing the resolution of the domain mycompany.com (look the DNS howto...
/usr/doc/HOWTO)
>
>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) ?
>
>
>
Renzo Alejandro Granados
Linux Netadmin
softup.cjb.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Get Your Own Free Pop or Web Based Email and a
10MB Web Site for FREE at: http://www.nettaxi.com!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]