I've bought a VPS witch has 2 public IP addresses assigned to it.
I want to configure Apache so I can have two different sites (in separated directories), each one available from a different public IP.
closed as not a real question by womble♦, Tom O'Connor, Ladadadada, Ward, voretaq7♦ Aug 3 '12 at 5:33
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
I hope you need to configure Apache for hosting two websites in two different IP address. This is whats called IP based virtual hosting. for this you need configure the both ipaddress in apache2.conf file with Listen Directive.
After restarting you can see that apache is listening on both IPs by applying netstat -ntlp.