Skip to content

Get www.hardware.pm.org going #2

@nuba

Description

@nuba

To get http://www.hardware.pm.orghttp://hardware.pm.org going, we're only missing the last step:

[x] a repository on https://github.com/perl-hardware/perl-hardware.github.com/

[x] a CNAME in this repo's root with only the "hardware.pm.org" string, without quotes.

[_] a "hardware.pm.org CNAME perl-hardware.github.com" DNS record if this is a subdomain
or
[x] a "hardware.pm.org A 204.232.175.78" DNS record

[_] a "www.hardware.pm.org CNAME perl-hardware.github.com" DNS record

For reference, I tested with my consulting biz's org in github:

the CNAME file
https://github.com/stastu/stastu.github.com/blob/master/CNAME

the DNS entries
; <<>> DiG 9.7.3 <<>> opensource.stastu.com +nostats +nocomments +nocmd
;; global options: +cmd
;opensource.stastu.com. IN A
opensource.stastu.com. 3600 IN CNAME stastu.github.com.
stastu.github.com. 43200 IN A 204.232.175.78

; <<>> DiG 9.7.3 <<>> www.opensource.stastu.com +nostats +nocomments +nocmd
;; global options: +cmd
;www.opensource.stastu.com. IN A
www.opensource.stastu.com. 3600 IN CNAME stastu.github.com.
stastu.github.com. 43196 IN A 204.232.175.78

The proper redirect:

wget -S -O /dev/null http://www.opensource.stastu.com

--2012-06-27 11:02:48-- http://www.opensource.stastu.com/
Resolving www.opensource.stastu.com... 204.232.175.78
Connecting to www.opensource.stastu.com|204.232.175.78|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 301 Moved Permanently
Server: nginx/1.0.13
Date: Wed, 27 Jun 2012 14:02:12 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: http://opensource.stastu.com/
Expires: Thu, 28 Jun 2012 14:02:12 GMT
Cache-Control: max-age=86400
Location: http://opensource.stastu.com/ [following]
--2012-06-27 11:02:48-- http://opensource.stastu.com/
Resolving opensource.stastu.com... 204.232.175.78
Reusing existing connection to www.opensource.stastu.com:80.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: nginx/1.0.13
Date: Wed, 27 Jun 2012 14:02:12 GMT
Content-Type: text/html
Content-Length: 51
Last-Modified: Wed, 27 Jun 2012 13:47:03 GMT
Connection: keep-alive
Expires: Thu, 28 Jun 2012 14:02:12 GMT
Cache-Control: max-age=86400
Accept-Ranges: bytes
Length: 51 [text/html]
Saving to: “/dev/null”

100%[=============================================================================>] 51 --.-K/s in 0s

2012-06-27 11:02:48 (4.90 MB/s) - “/dev/null” saved [51/51]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions