3

We are making cURL call from site a.com to site b.com these both sites are hosted on the same server. Above scenario make server too much loaded.

Actually a.com was on server 1 and b.com was on server 2. We were doing cURL call to b.com from a.com, due to hosted on different server it was taking time. So I thought to reduce serve time I put both site on same server.

And now it is facing drastic server load increase.

Does this has any relation with cURL I am making.

tshepang
  • 12,111
  • 21
  • 91
  • 136

1 Answers1

0

Are you in control of the server yourself?

You could try to add a record to the /etc/hosts file.

127.0.0.1 a.com
127.0.0.1 b.com
Dennis
  • 394
  • 1
  • 6