Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 20:25:28 -0700
From:      "Cowan Bowman" <cowan@mirageport.com>
To:        "Ken Blundell" <ken@osicom.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Virtuals
Message-ID:  <039f01bd369c$b3623dc0$235e86cc@hercules.mirageport.com>

next in thread | raw e-mail | index | archive | help

-----Original Message-----
From: Ken Blundell <ken@osicom.net>
To: freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Date: Tuesday, February 10, 1998 10:45 AM
Subject: Virtuals


>Hello,
>    I am running FreeBSD 2.2.2 as our main internet server and would like
to
>setup some virtual hosts.
>I've gone through all of the documentation and FAQ's I could find but I am
>still having no luck with setting up a virtual.  I have the Internic
>registration completed and have added this to the /etc/rc.local file:
>
>ifconfig_ed2_alias0="inet 207.236.103.161 netmask 255.255.255.255"
>


I added this towards the end of my rc.network file and it works for me.

# Alias following IP Addresses
echo -n 'Aliasing'
echo -n ' 204.134.75.61'; ifconfig ep0 inet 204.134.75.61 netmask
255.255.255.255 alias


echo '.'




>and I also added it to the /etc/hosts file:
>
>207.236.103.161         tipoftheweb.com         tipoftheweb
>
>I've also created a /etc/namedb/db.tipoftheweb file and changed the
>httpd.conf file ro reflect the Virtual directive.
>
>If I type in http://www.tipoftheweb.com (the virtual i'm trying to add) it
>resolves to http://www.osicom.net : thats our primary!
>
>ANY help would be appreciated, if you could point me to some sort of
>documentation or web page that outline the steps involved, I would be
>forever in your debt!  :-)
>Sorry for being so forward but, the powers that be are breathing down my
>neck!
>
>Cheers,
>    Ken.
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039f01bd369c$b3623dc0$235e86cc>