Add additional IP addresses? Change hostname?

Jstuts5797

Verified User
Joined
Mar 8, 2020
Messages
9
Hello I have a whammy here that I'm not sure how to go about doing. My ULTIMATE goal is to not have my email go to spam. The IP my directadmin on was used in the past and has a couple marks on it, so I have obtained a few additional IP addresses from my provider to test out with email to get one that works. I also discovered that because I was using a .tk address for my hostname and name servers that too could cause email to go to spam. So I got a .com name. Here are my questions: #1. Do I need to delete all the DNS records for the old .tk hostname and name servers and change to the new .com? #2. I'm guessing just a simple change from the .tk to the .com in Admin>Administrator Settings and the settings in in Admin>Custom Build>Server Settings is all I have to do within directadmin to change from the .tk to the .com? Also what we are wanting to do is to keep directadmin on the original IP address and just add the 2nd for directadmin to use for email only. How would I go about adding this IP to directadmin and telling it to only use it for email? Can this be done? If not how can I go about testing these IP addresses to find the one that will work and then how would I change the main IP address of directadmin? I'm also assuming to do ANY of this I would have to also change my DNS settings in cloudflare to match the new IP, the new nameservers, and the new hostname? I'm new at this, and I'm lost so please be gentle. Any help at all would be greatly appreciated! Thank you in advance!
 
I seen that... but I want to keep that IP.... I'm just testing different IPs so I need to switch back and forth without having to change all my DNS settings in cloudflare each and everytime. Seems like it would take a couple hours just to test one IP because you have to basically re-do all your dns settings in cloudflare everytime? Am I thinking about this inthe right way? Is it "ok" for me to switch my license IP that many times that quickly while I test a few different IPs?
 
simple at your second IP to server.

then look like you need to look something like this

or custom exim.conf
by default exim will look interrface like this

interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips}}}}

#if can't search from domainips, it's use server ip to sending.

simple to change by like this
interface = 1.2.3.4 #your second ip
 
Back
Top