Allow connection to certain port from specified domain

Posted by Scott on Server Fault See other posts from Server Fault or by Scott
Published on 2012-12-03T15:50:29Z Indexed on 2012/12/03 17:07 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

I got two domains, which are pointing on the same IP address, I can use both to connect to the server or certain port (TeamSpeak), the problem is that I would like the only one domain from those two to be working while connecting to a certain port.

Eg.

example.com points at the 11.22.33.44 -- allow connection to the certain port from this domain.

sample.com points at the 11.22.33.44 -- disallow connection to the port specified above from this domain.

I know this would be possible for the IP addresses, but would it be possible for the domains?

© Server Fault or respective owner

Related posts about domain

Related posts about freebsd