Is it possible to set a ddns hostname to access a name-based virtual host?
hongyi.zhao at gmail.com
hongyi.zhao at gmail.com
Sat Feb 21 03:29:24 UTC 2009
On Saturday, February 21, 2009 at 5:45, kcd at chrysler.com wrote:
> 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.
Thank you for your pertinent recommendations.
Warmly regards,
--
Hongyi Zhao <hongyi.zhao at gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
2009-2-21
More information about the bind-users
mailing list