The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IP Address issue

Discussion in 'General Discussion' started by siparker, Dec 5, 2013.

  1. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
    #1 siparker, Dec 5, 2013
    Last edited: Dec 5, 2013
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    My mistake, misread your post. :eek:
     
  5. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hey no problem

    could still use your help thought if you have any ideas?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  8. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    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".
     
  9. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    ? 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.
     
  10. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    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.
     
  11. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    The ssl certificate in your server is used for incoming https connections only. Outgoing https connections use the certificate in the remote server.
     
  12. siparker

    siparker Member

    Joined:
    Jun 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    right understood.

    thanks for the assistance
     
Loading...

Share This Page