[thelist] DNS aliasing

Burhan Khalid thelist at meidomus.com
Mon Oct 20 07:55:33 CDT 2003


Ken Schaefer wrote:

> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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.

-- 
Burhan Khalid
thelist[at]meidomus[dot]com
http://www.meidomus.com



More information about the thelist mailing list