Hello,
I am looking for a solution for a very specific problem. Let me explain:
My organisation owns a website with a lot of links to youtube (educational videos). Students from around the country (in 80 different sites) are visiting this website, all using the same proxy-server.
To take the load of this proxyserver and connection, we want to host copies of this website in every branch office (on a synology NAS) with links to local copies of the movies.
We want it all to be very transparent: there should be 1 URL. If a user visits the URL from outside the organisation he uses the outside copy of the website with the youtube-links, if a user visits the url from within the organisation he should be redirected to the copy of the website which is hosted on the Synology NAS that is found in his own IP-subnet.
Interesting to know: the URL is has nothing to do with our DNS-domain.
I was thinking in the direction of a CNAME-record in every DNS-subsite, but I don't seem to get anywhere with that.
Is there somebody who can point me in the right direction?
Thank you!
Pieter