IP Address issue
I have 4 ip addresses setup and as far as i can tell working correctly.
However i have just added a site with a dedicated ip address. It is accessible through that ip as you would expect but when trying to add a payment plugin onto the site there is an error which shows because the ip address the site is using to send information to them is different.
for example
Ip addresses
1.1.1.50 <<<< Main shared IP
1.1.1.51
1.1.1.52
1.1.1.53
The site has a dedicated IP assigned 1.1.1.53 and is working in terms of when i update my hosts file with that ip the site shows correctly.
the payment gateway is setup to expect requests from that ip. However the error that shows says that ip address 1.1.1.50 is not setup for that account.
Why would cpanel be routing traffic out of the incorrect ip?
I have asked my datacenter and they said it would be NIC setup but i cannot find any information about this and as i understand it i have setup the ip's correctly when going through the basic cpanel setup.
For the site to be accessible through the dedicated IP would indicate that the ip is correct and bound to the NIC ? or am i wrong here?
-
The docs may be helpful to you on this one: Domains and IPs - cPanel Documentation 0 -
Hi I dont have an issue with Exim? this is nothing to do with email. Sorry if that wasnt clear. The payment plugin uses Curl to send requests to the payment provider. This account for some reason is not using the dedicated ip to send the curl requests. 0 -
My mistake, misread your post. :o 0 -
Hey no problem could still use your help thought if you have any ideas? 0 -
Hello :) It's normal for outgoing connections to come from the default public IP address of the server. Assigning an account a dedicated IP address will not change this behavior. Are you able to modify your application settings so it expects connections from the main IP address of the server? Thank you. 0 -
yes but that ip address is not assigned to the site and i assume the SSL certificate for that account in that case. or am i wrong there? 0 -
[quote="siparker, post: 1523791">yes but that ip address is not assigned to the site and i assume the SSL certificate for that account in that case.
That does not matter, the SSL certificate has nothing to do with outgoing connections. As Michael told "It's normal for outgoing connections to come from the default public IP address of the server".0 -
? sorry im a little more confused now. So an ssl certificate on a dedicated ip address (in this case for the purpose of sending credit card data to a third party site) will not be used for those conenctions. which is what its needed for. that doesnt seem to maek sense. can you confirm that. 0 -
SSL certificates are used when a client's computer accesses your site. Any information back and forth between the client's computer and your server maintains encryption using that SSL certificate. When your server, on the other hand, connects to a payment gateway, it is not using YOUR SSL certificate, it is making use of the payment gateway's SSL certificate. In this case, your server becomes the "client's computer" from above and the payment gateway becomes the server. You need to verify the payment gateway's identity, not visa versa. 0 -
[quote="siparker, post: 1523812">? sorry im a little more confused now. So an ssl certificate on a dedicated ip address (in this case for the purpose of sending credit card data to a third party site) will not be used for those conenctions. which is what its needed for.
The ssl certificate in your server is used for incoming https connections only. Outgoing https connections use the certificate in the remote server.0 -
right understood. thanks for the assistance 0
Please sign in to leave a comment.
Comments
11 comments