Mask IP:port with Domain Name

Han Hwei Woo hhwoo at
Fri Jun 27 07:24:34 PDT 2003

I believe the ServerName directive in Apache is what you're looking for;
it's what people's browser address field will show once they connect to your
site. As far as your security concerns go, you can not run a website without
exposing the IP address of the webserver machine, with or without masking.
If a client machine didn't know your IP address, it would not know where to
retrieve your web pages from.

Han Hwei Woo

----- Original Message ----- 
From: "John DeStefano" <deesto at>
To: <freebsd-questions at>
Sent: Thursday, June 26, 2003 3:50 PM
Subject: Mask IP:port with Domain Name

> In order to solve some IP/port resolution issues, I registered a domain at on the advice of a few people on this list.  Seems like a nice
interface, decent service, and a great price.
> My question is on what I assume to be IP masking.  When someone punches in
my domain name to reach the web site running on FBSD, their browser's
address field (well, actually it's the DNS doing it) instantly translates
the domain name into my actual IP address and port number.  This is alarming
for security reasons, as well as relatives who know nothing about technology
asking inane questions about the disappearing web site name.
> I have searched the handbook, archives, even apache docs, but I can't find
any information regarding how to get this to happen on my FBSD (assuming I'm
searching on the correct terms?).  Of course, offers a masking
service for an additional fee, but then what was once a bargain wouldn't be
much of a bargain any longer.
> Thanks,
> John
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list