[CentOS] www.mydomain.org and mydomain.org should resolve to the same IP

Sun Jul 31 03:07:45 UTC 2011
Always Learning <centos at u6.u22.net>

On Sat, 2011-07-30 at 19:39 -0700, John R Pierce wrote:

> On 07/30/11 6:42 PM, Always Learning wrote:
> > You can amalgamate that into a single entry .....
> 
> that doesn't do the redirect.  I *want* it so that if you go to any of 
> these URLs...
> 
>      http://astro.santa-cruz.ca.us
>      http://www.astro.santa-cruz.ca.us
>      http://www.astronomy.santa-cruz.ca.us
> 
> you get redirected to
>      http://astronomy.santa-cruz.ca.us
> 
> try it, you'll see how that works.


Instead of being 'redirected' why not go straight to the required web
site http://astronomy.santa-cruz.ca.us whatever you enter:-

        http://astro.santa-cruz.ca.us
        http://www.astro.santa-cruz.ca.us
        http://www.astronomy.santa-cruz.ca.us
        http://astronomy.santa-cruz.ca.us


?

Why make two moves when one is sufficient ?


-- 
With best regards,

Paul.
England,
EU.