cPanel dedicated IPs - how to route users' trafic?

Hi,

Having a problem.. I have a VPS with a few IP addresses in the pool. I am creating new users with a dedicated IP for each one.

Scenario: There is a user (call it john999) with an IP address assigned (different from the main shared IP). So, john999 has several scripts, one of them is mail();, another downloads some files from other servers etc.

Problem: When a script that belongs to john999 communicates to the other servers, they see the same IP address (I guess our main shared IP) that they would see if that script would belong to joss888 or root111.

Are there any settings (apache, bind, cpanel or smth) I can change so each user gets the full 'control' over its IP, is fully responsible for it and does not 'share' it with others?

All accounts are shared cPanel accounts.

So basically, I need ALL the traffic of each user to go ONLY via his/her IP.

Thanks!
psprindysAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wsenterCommented:
I am confused.  You say that all users are assigned a dedicated IP address but later you say that all users are shared CPanel accounts.  It has to be one or the other.  If you setup a shared IP address within CPanel, you can assign many users to that IP address.

If you assign a private IP to a user account, this is done during account creation. You can verify this by looking under the "IP functions" category and then click "Show IP Address Usage".
Check that and let me know. Also, clarify the "shared CPanel account thing".
0
psprindysAuthor Commented:
Thanks!

These are shared users as they do not own a VPS or dedicated server each. They share one server.
I know much about cPanel and hosting and I know how to add a dedicated IP address. I just need all users' traffic to be routed through his IP address.
0
wsenterCommented:
If his domain name has been associated with a dedicated IP address then all traffic will be routed to that address.  You can do a redirect from an applicaiton to another url but that still uses the ip address assigned to the domain name.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Server Hardware

From novice to tech pro — start learning today.