I have a php script sitting on a webserver. The domain for the server we'll say is 'www.example.com'. We also have a blog. This blog sits on a totally different server, but it accessed via 'www.example.com/blog'. Because these two sites share a domain name, my server looks internally for the feed my script is trying to access. How can I make the server look outside the localhost?
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Ok. So, the answer it turns out wasn't so much a server issue as a php issue. I had to route the php call through Compendium's reverse proxy. It was done like this: