Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

website connect from dedicated ip address

Discussion in 'Bind/DNS/Nameserver' started by Tamer Fahmy, May 6, 2018.

  1. Tamer Fahmy

    Tamer Fahmy Registered

    Joined:
    Jan 6, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cairo, EGYPT
    cPanel Access Level:
    DataCenter Provider
    Hello,

    We have a cPanel installed on a machine with multiple IPs, and we found that each website connect to the internet using the shared IP, not it's dedicated IP
    I need to make each website connect to the internet from it's own IP, not from the shared one !!!!

    for example
    Our server address ( Main IP / Shared IP ) is : x.x.x.10
    and
    Website 1 dedicated IP is : x.x.x.11
    Website 2 dedicated IP is : x.x.x.12
    .
    .
    .
    and so on,

    When we make a PHP script to check IP address ( fsockopen ready site like showip.net ) we found that all of them connected using the shared IP ( x.x.x.10 ) not from it's dedicated IP address

    We need to hide the server shared IP from each of them

    how can we make this

    Regards
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,765
    Likes Received:
    79
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You may have to change your PHP script because by default the traffic goes from the server through one IP only, which is the main IP of the server..

    If you get the different result everytime, then you may have to pay cPanel license for each one of the IP address.. Below is the command that the cPanel executes internally to verify the outgoing IP address of the server against the IP that is licensed for cPanel.
    curl -L http://cpanel.net/showip.cgi

    Installation Guide - Troubleshoot Your Installation - Version 68 Documentation - cPanel Documentation
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,212
    Likes Received:
    1,757
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page