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.
|
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, see the FAQ.
|
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. Regards |
||||
|
|