[thelist] Domain Names...

Hassan Schroeder hassan at webtuitive.com
Thu Aug 15 11:07:00 CDT 2002


Erik Bennett wrote:

> What I was asking was, we want to stop using www.central.ecasd.k12.wi.us
> altogether, but like I said, I still have over 1,000 requests coming through
> it a day, so I don't want to just turn it off completely.
>
> What I want to do is set it up so that any request that comes through
> www.central.ecasd.k12.wi.us, whether it be
> www.central.ecasd.k12.wi.us/foo/bar.html or
> www.central.ecasd.k12.wi.us/bar/foo.html the user sees the redirect page
> that states "www.central.ecasd.k12.wi.us will no longer be used, blah blah
> blah, update your bookmarks, blah, go here instead."

Why? Why should they need to be bothered with this? If you change
the DNS record for www.central.ecasd... to www.ecasd... they'll
already be there :-)  So their bookmarks are "wrong" -- who cares?
They'll work for as long as you maintain that alias in your DNS
tables. There's no real overhead.

> Also, reposting/rewording this question has raised another for me. Say I get
> the single page to work, does anyone have a simple (preferably ASP, also
> could be PERL) solution for pulling in the current URL typed in and
> reformatting it to display on the page in the new format? (i.e.
> www.central.ecasd.k12.wi.us/bar/foo.html = www.ecasd.k12.wi.us/bar/foo.html)

Apache lets you define the returned server name in its config files
but I don't know how IIS handles returning the server name.

HTH!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

     -- creating dynamic Web sites and applications since 1994 --





More information about the thelist mailing list