When using apache (you haven't told what web server you are using) you can define a virtual host which has a server name <span class="Apple-style-span" style="font-style: italic;">h</span><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="font-style: italic;"><a href="http://ongyi_zhao.changeip.net">ongyi_zhao.changeip.net</a></span> and a serveralias of some_domain. then apache will respond to urls which have either in the host header with the defined virtual host. This assumes that either can be resolved to an IP from the requesting host.</span><div>
<span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Perhaps it is advisable to start googling for "virtual hosts" to further determine how you should do it.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Hope this helps.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Regards,</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Serge Fonville<br>
</span><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 10:02 AM, Hongyi Zhao <span dir="ltr"><<a href="mailto:hongyi.zhao@gmail.com">hongyi.zhao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">Hi all,<br>
<br>
Suppose a file named file.pdf stored in the following web location:<br>
<br>
<a href="http://some_domain/path/to/file.pdf" target="_blank">http://some_domain/path/to/file.pdf</a><br>
<br>
Where, the *some_domain* is a name-based virtual host.  In this case,<br>
is it possible to set a ddns hostname, say through<br>
<a href="http://www.changeip.net/" target="_blank">http://www.changeip.net/</a>, without using *some_domain* itself,  to<br>
access this file?<br>
<br>
</div><div class="Ih2E3d">--<br>
.: Hongyi Zhao [ hongyi.zhao AT <a href="http://gmail.com" target="_blank">gmail.com</a> ] Free as in Freedom :.<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</div></div></blockquote></div><br></div>