Re: www.mydomain.org and mydomain.org should resolve to the same IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/30/11 9:55 AM, Rob Kampen wrote:
> Again, the standard practice in the industry is for name.org and
> www.name.org to be "tied" together. 

if the domain is primarily a website, for sure, in fact, many of my 
websites prefer domain.com to www.domain.com and in fact, I redirect the 
latter to the former...

example domain:

<VirtualHost  207.111.214.244>
         ServerName astronomy.santa-cruz.ca.us
         DocumentRoot /..../html
         ErrorLog /...../logs/error_log
         CustomLog /..../logs/access_log common
</VirtualHost>

<VirtualHost 207.111.214.244>
         ServerName astro.santa-cruz.ca.us
         ServerAlias www.astronomy.santa-cruz.ca.us 
www.astro.santa-cruz.ca.us
         RedirectMatch permanent /(.*) http://astronomy.santa-cruz.ca.us/$1
</VirtualHost>



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux