VPS: Is there any way to route just one site through its dedicated IP
I have a VPS which has approx 40 small websites.
I have 5 dedicated IPS.
My most important client has a Dedicated IP.
The other 4 dedicated IPS are share between a handful of sites.
Is there any way to route just one site through its dedicated IP.
If I do the following:
Navigate to WHM: Home -> Service Configuration -> Exim Configuration Manager
2. Click on the "Domains and IP" Tab
3. Enable the "Send mail from the account’s IP address"
4. Click 'Save' at the bottom
Then this works for that one website with its own dedicated IP but reults in errors for all the other sites that are sharing an IP.
The error for all the other websites under Email deliverability is:
The only PTR value for this IP address must be "xyz". This is the name that this server sends with SMTPs HELO command to send outgoing email.
1 unexpected PTR value exists for this IP address.
Any help appreciated
-
Did you read this?
https://support.cpanel.net/hc/en-us/articles/360049187673-How-to-send-email-from-a-dedicated-IP-address"The above steps will affect all accounts using dedicated IPs on the server.
Sending email from a dedicated IP address means that you will need to modify the PTR record for the dedicated IP address to match the account's domain name."
If you want that only one site is sending using it's dedicated IP you must use /ets/mailips & /etc/mailhelo
0 -
Thanks but I have tried this and whilst it works, it affects ALL the domains on the VPS and creates error messages for those that share an IP. I need this option but for just one domain on one dedicated IP
0 -
I edited my reply and answered your question.
0 -
Thanks, I have tried this and on the shared IPS Im getting the error
"The error for all the other websites under Email deliverability is:
The only PTR value for this IP address must be "xyz". This is the name that this server sends with SMTPs HELO command to send outgoing email.
1 unexpected PTR value exists for this IP address."My host and I cannot fix this error if 4 websites are sharing a dedicated IP, we have tried.
0 -
You can't share a dedicated IP in a cPanel server, unless the IP is assigned to a reseller account.
0 -
Correct - you can't have multiple domains on a dedicated IP address in cPanel or else you'll run into odd behavior like that.
0 -
Wish there was the option to just have one domain on a dedicated ip route its email through its dedicated ip
0 -
There is - you just need to add additional lines to the configuration:
Under that mailips section you can see how multiple domains can be configured. Is that not working for you?
0 -
Thanks cPRex I havent tried this, not sure how to do this even with the link to instructions, any assistance would be great on how I do this
one domain on dedicated ip
all other domains through main ip
Thanks
0 -
in /etc/mailips
domainwithdedicatedip: dedictedip
*: mainipin /etc/mailhelo
domainwithdedicetdip: rDNSofDedicatedIP
*: rDNSofMainIPin WHM -> Service Configuration -> Exim Configuration Manager -> Domains and IPs
Send mail from the account’s IP address = Off
Reference /etc/mailhelo for custom outgoing SMTP HELO = On
Reference /etc/mailips for custom IP on outgoing SMTP connections = On1
Please sign in to leave a comment.
Comments
10 comments