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!

How to use php curl with account's dedicated ip? (not use main shared ip)

Discussion in 'General Discussion' started by alexhero, Apr 14, 2012.

  1. alexhero

    alexhero Registered

    Apr 14, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I'm using cpanel on vps with 10 ip address. I created an account with a dedicated ip and I build a php application with curl on that.
    When curl access to an url, curl come from main shared IP. I want it use dedicated ip which I set on account.
    How to config to do that?
    Help me, please!
  2. thewebhosting

    thewebhosting Well-Known Member

    May 9, 2008
    Likes Received:
    Trophy Points:
    Re: How to use php curl with account's dedicated ip? (not use main shared i

    Try dedicated IP address in your URL instead of domain name and see if it works.

    Have you pointed nameservers of your domain name to the server?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice