www.centos.org and the wildcard dns

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

 



From: "Karanbir Singh", Friday, April 16, 2010 8:57 AM

> ...
> At the moment there is a www.centos.org site. There is also a wildcard
> dns setup that directs anything.centos.org to www.centos.org's content
> ...

  Unless I'm missing something, http://yadda.centos.org doesn't redirect, it 
displays a copy of the (www.)centos.org content.

  I'm not that knowledgeable about SEO stuff, but wouldn't a redirect be 
better?

  Assuming an Apache setup, adding something like a catch-all virtual host 
after any other centos.org host definitions.  I prefer URL's without the www 
unless there is a good reason...

<VirtualHost *:80>
  ServerAlias *.centos.org
  Redirect permanent / http://centos.org
</VirtualHost>

  That should get the browser client to notice and change where it is going.



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux