[thelist] DNS aliasing

Ken Schaefer ken at adOpenStatic.com
Mon Oct 20 08:22:19 CDT 2003


From: "Burhan Khalid" <thelist at meidomus.com>
To: <thelist at lists.evolt.org>


: > From: "Ed McCarroll" <Ed at ComSimplicity.com>
: > Subject: [thelist] DNS aliasing
: >
: >
: > : I'm trying to set up my development system (Win2K Pro/IIS/IE 6.x)
: > : so that it mirrors the client's.  I'd like to fix it so that when
: > : I browse to:
: > :
: > :   foo.myDomain.org/bar.html
: > :
: > : the domain is automatically redirected to:
: > :
: > :   //localhost/myDomain/foo/bar.html
: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: >
: >
: > You can either edit the entries in your DNS server
: >     -or-
: > If you don't have a DNS server, stick a manual entry in your Windows
Hosts
: > file
: >
: > That said, you can only redirect a name to an IP address. You can't
redirect
: > a name to a file, in a folder, on another server, eg:
: >
: > You can do:
: > foo.MyDomain.com -> localhost
: >
: > but you can't do;
: > foo.myDomain.com/somefile.htm -> localhost/somefolder/someotherfile.htm
: >
:
: I believe mod_rewrite can do the above.



but mod_rewrite is not a functionality provided by DNS. It's functionality
provided by the webserver (Apache) right?

Likewise, you can do the same with IIS. But, again, that's functionality
provided by the webserver, not DNS. I think I mentioned this is my original
post.

Cheers
Ken



More information about the thelist mailing list