Trying to configure reverse proxy. I do everything according to the instructions found on the Internet.
The problem is that I can not configure it so that access to the local server was using the 3rd level domain.
What am I doing:
- Created a local server (alias - test )
- I configure mapping - I set URL patterns for which, in my understanding, squid should be transferred to a local server.
External domain, for example, example.com , therefore I enter a template of this type http://test.example.com/ . That's not how it works. If you change the template to example.com (remove the 3rd level), then everything will work. When you enter the address get on your local server.
Why can't I manage with 3rd level domain? Where can I be wrong?
thank