Re: virtual domen
From: Bas Keur (viper_at_dmrt.net)
Date: 08/29/04
- Next message: Dave Uhring: "Re: virtual domen"
- Previous message: Dave Uhring: "Re: virtual domen"
- In reply to: Dave Uhring: "Re: virtual domen"
- Next in thread: Dave Uhring: "Re: virtual domen"
- Reply: Dave Uhring: "Re: virtual domen"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Aug 2004 05:24:02 +0200
>> How to in short steps make virtual domen...
`Virtual Domains`
> Append to /var/www/conf/httpd.conf:
>
> <VirtualHost xx.xxx.xx.xxx:80>
> DocumentRoot "/var/www/yyyyyyy"
> ServerName www.yyyyyyy.com
> </VirtualHost>
>
> Then alias a new address to your NIC facing the Internet:
>
> [conf]# cat /etc/hostname.fxp0
> inet xx.xxx.xx.x 255.255.255.0 NONE
> inet alias xx.xxx.xx.xxx 255.255.255.0 NONE
>
> Next, actually add the aliased IP address
>
> # ifconfig fxp0 inet alias xx.xxx.xx.xxx netmask 255.255.255.0
Yup.
And for all the extra parameters you might want to check this URL.
http://httpd.apache.org/docs/vhosts/index.html
--
-{ ViPER # mailto:viper@dmrt.net # http://www.dmrt.net
-{ I can't come out and go `Hello! Filth flar'n filth, motherfucker,
-{ ***, ***, snot, and ***. Good night! ? - E. Murphy
- Next message: Dave Uhring: "Re: virtual domen"
- Previous message: Dave Uhring: "Re: virtual domen"
- In reply to: Dave Uhring: "Re: virtual domen"
- Next in thread: Dave Uhring: "Re: virtual domen"
- Reply: Dave Uhring: "Re: virtual domen"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]