Hongyi Zhao wrote:
Hi all,
Suppose a file named file.pdf stored in the following web location:
http://some_domain/path/to/file.pdf
Where, the *some_domain* is a name-based virtual host. In this case,
is it possible to set a ddns hostname, say through
http://www.changeip.net/, without using *some_domain* itself, to
access this file?
DNS can only control what IP address the client connects to. It doesn't
have any effect on the "Host:" header that is sent in the HTTP request,
and that's what a webserver uses to identify the target site, in a
named-based virtual hosting context.
I think you want to use a proxy with URL-rewriting capability. SQUID
seems to be capable of this.
Possibly some browser add-on might have a URL-rewriting capability too,
haven't looked into that.
- Kevin
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users