what do i do to use 2 IPs for each domains ?

ever00t

Verified User
Joined
Jul 10, 2007
Messages
19
I have eth0 and eth0:0 with different public IP. what do i do exactly to make each domain to use 2 IPs at the same time ? The DNS has been configured properly to automatically determine the vistors' ip then specify the proper IP for them to use,however,only the IP is binded on eth0 is okay, with the eth0:0 one,it does not visit to the same contents but it points to /var/html/

Need to know the resolution baddly .Thank you.Better if there is a global option to have it done,cuz i need all domains on the server to have both of 2 IPs available to prepare for the incoming connecting requets.
 
You can't do it through DirectAdmin, though you may be able to automate it setting up a post-creation shell script; check these forums. If you're going to do it for all the sites on your server you may be able to do it with custom template changes, but I haven't looked into it.

What you need to do is make custom changes to the user-level httpd.conf files to have two separate containers pointing to the same domain name.

You'll also need to have some way of tracking that the IP#s are used so you don't give them out more than once.

Jeff
 
Back
Top