Re: Local DNS config

From: Dan (dan_at_homicidalmaniac.org)
Date: 03/02/04


Date: Tue, 02 Mar 2004 14:28:27 +0000

On Tue, 02 Mar 2004 14:05:04 +0100, Peter Pippinger wrote:

> Hello NG,
>
> i have connected a WinXP box (192.168.1.10) to a FreeBSD4.9 box
> (192.168.1.20)
>
> FreeBSD is my gateway to the internet.
> FreeBSD is my HTTP server (apache) / FTP server and mySQL server.
>
> What i want to do is:
>
> If i enter the address http://test.com on my windowsclient´s browser to get
> access to my freebsd box.
> But all other "real" internetdomains should still be accessible.
>
> Is there any way, to config the Box for this?
>
> Thanks for any hints!
> Peter

Edit the hosts file on the windows box (look in
windows\system32\drivers\etc ... although the location may vary depending
on the version of windows), once you find it, add an entry for:

192.168.1.20 test.com

or whatever you want to use.

-- 
Dan


Relevant Pages

  • Re: 2 gateways problem
    ... How to Setup Windows, Network, Remote Access on ... Some of clients reach internet through a firewalled router. ... > for some others default gateway is switched as needed, ...
    (microsoft.public.win2000.ras_routing)
  • NEWBIE: FreeBSD 4.10 Internet gateway/DNS problem
    ... I am trying to setup my FreeBSD 4.10 box as an internet gateway for a small ... lo0: flags=8049mtu 16384 ...
    (freebsd-questions)
  • Re: Connect to Internet
    ... The first one is the at&t gateway: ... I also have a second line referencing the freebsd box itself by the internal ... I can't connect to Internet from the Freebsd box. ... >> If I ping myself no problem everything's fine, but I can't ping a web ...
    (freebsd-questions)
  • Re: Norton Internet Security and XP Pro *before* logon
    ... The Internet Gateway is an XP Pro SP2 machine running ... > Windows is up to date on all the networked PC's. ... > other connections *even though the gateway PC is sitting at the logon ...
    (alt.comp.anti-virus)
  • Re: What the Hell has happened to this group???
    ... Forget Windows, ... As long as your 'Doze system isn't plugged directly into the internet, ... then hire a Linux geek to put a proper firewall in your gateway box. ... I've been running XP for years on a Gateway ...
    (sci.electronics.design)