I have bellow VPS account:
- CentOS 5.6 OS
- Webmin control panel installed
- Postfix server installed
- 3 domains created (3 Virtual servers)
e.g. domain1.com, domain2.com and domain3.com
- 2 available IPs
e.g. 22.214.171.124 and 126.96.36.199
Currently all domains use the main (shared 188.8.131.52) IP. What i would like to do is:
1. to use the second IP (184.108.40.206) for domain3.com, and
2. every email sent from domain3.com to be sent also from the second IP (220.127.116.11).
Till now I have changed the IP of domain3.com from Webmin menu, but when I hit domain3.com in my browser I see the primary Virtual Server (domain1.com). Only when i hit directly the second IP (18.104.22.168) in my browser i see the domain3.com. Do you know how i can fix this? Is there something i should do with the Name Servers of domain3.com?
Then after I fix this, do you know how i will tell Postfix to send emails email@example.com
from the second IP (22.214.171.124)?
Thank you in advance,