hg-scm.{org,net,com} domain names

Martin Geisler martin at geisler.net
Wed Dec 18 07:27:25 UTC 2013


Matt Mackall <mpm at selenic.com> writes:

> On Thu, 2013-12-05 at 10:18 +0100, Martin Geisler wrote:
>> Hi guys,
>> 
>> I got a mail today that the hg-scm.org, hg-scm.net, and hg-scm.com
>> domain names will be renewed in five weeks. I notice we (dsop) also
>> have mercurial-scm.org registered.
>> 
>> Do we need all of them? Has anybody got some statistics about how
>> many hits we get through each domain?
>
> We're not currently logging which host clients are requesting, but the
> name is showing up in the referrer field. Thus, these numbers aren't
> terribly accurate, but should give some idea:
>
> # grep hg-scm.org access.log | wc
>    1209   25363  296269
> # grep hg-scm.net access.log | wc
>      12     252    2811
> # grep hg-scm.com access.log | wc
>     209    4401   48505
> # grep mercurial-scm.org access.log | wc
>    1262   33932  354769
> # wc access.log
>   101909  2153198 27712003 access.log
>
> I'd say we can safely drop the .net and .com domains.

Thanks for checking this, I'll let the domains expire in January!

>> If we do need them, could someone configure the webserver at
>> mercurial.selenic.com to issue 301 redirects for all the other
>> domains back to the canonical mercurial.selenic.com name? I assume
>> that's the site we want Google and other search engines to see as
>> canonical.
>
> I can add that to my very long list of sysadmin chores.

For Apache,

  Redirect permanent / http://mercurial.selenic.com/

in each of the non-canonical virtual hosts should do the trick. That
also redirects URLs like /foo/bar?x=y correctly so it's a simple setup.

-- 
Martin Geisler



More information about the Mercurial-devel mailing list