Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 22:06:39 -0400
From:      "Michael S" <msherman77@gmail.com>
To:        "FreeBSD Mailing List" <freebsd-questions@freebsd.org>
Subject:   DNS beginner question
Message-ID:  <d5f57b9c0607051906g2b0f71b1h280594cd73d4a73@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all.

I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
web and DNS (that I am setting up) and the other FTP. Both machines
are behind a router and get local addresses (i.e. 192.168....). If
DNS, FTP and web ports in the router are open, will I be able to set
up the DNS in a way such that when someone from the outside types
www.mydomain.com, he'll be taken to the machine that runs apache, and
when he types ftp.mydomain.com he'll be taken to the machine which
runs ftp?
By the way simply typing ftp://mydomain.com and http://mydomain.com
does the trick, but I want it to work with prefixes too.

Hopefully my question isn't too confusing.

Thanks in advance.
Michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5f57b9c0607051906g2b0f71b1h280594cd73d4a73>