How to route outbound traffic to specific domain "XYZ.org" via a specific NIC or public/static IP?

Posted by user139943 on Server Fault See other posts from Server Fault or by user139943
Published on 2012-10-06T20:30:21Z Indexed on 2012/10/06 21:39 UTC
Read the original article Hit count: 189

Filed under:
|
|
|
|

Within the next week or so, I'll be setting up an AT&T U-verse modem with 5 usable static public IP addresses. I plan to register a domain name to 1 of the 5 static IPs (remaining 4 unregistered), and run a website from a single server setup in my home LAN.

I'll skip the long winded reason why, but I need to somehow route outbound traffic (originating from my server) destined for one public domain (i.e. http://www.sample.org) through one of the UNREGISTERED static IP addresses ONLY. Basically, I want this public domain to see connections coming from an IP address and not my domain name. If it makes it easier, this can apply to all outbound traffic from my server as long as it doesn't impact users browsing my website! Inbound connections should go through the domain name / registered public IP.

Can I accomplish this with my single server with one or multiple NICs? Do I need multiple servers and set one up as a proxy? Please help as my background is in software and not networking, and I don't think I can accomplish this at a software level (e.g. Java).

Thanks.

© Server Fault or respective owner

Related posts about domain

Related posts about nic