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. 184.108.40.206 and 220.127.116.11
Currently all domains use the main (shared 18.104.22.168) IP. What i would like to do is:
1. to use the second IP (22.214.171.124) for domain3.com, and
2. every email sent from domain3.com to be sent also from the second IP (126.96.36.199).
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 (188.8.131.52) 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 firstname.lastname@example.org
from the second IP (184.108.40.206)?
Thank you in advance,