Configure Apache to cross talk to name based virtual hosts on same server

Latest response

Hi,

Is there a way to configure apache to allow name based virtual hosts on the same sever to talk to each other using wget? For instance, site1 attempts to wget data from site2, both sites being on the same server.

Responses

I assume you tried it and it did not work? One option would be to add these site names to /etc/hosts and have them map to 127.0.0.1 , then when wget runs on the local server with that sitename, it will map back to the local apache and the namebasedhost will work.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.