Ticket #557 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Set up a re-direct

Reported by: ed Owned by: chris
Priority: critical Milestone: Maintenance
Component: DNS Keywords:
Cc: Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.75

Description

Please can you set up two re-direct/pointers

from: "power.transitionnetwork.org"
to: "http://www.transitionnetwork.org/power-just-doing-stuff"

AND

from: "http://www.thepowerofjustdoingstuff.org" (we own in gandi)
to: "http://www.transitionnetwork.org/power-just-doing-stuff"

Change History

comment:1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.5
  • Status changed from new to accepted
  • Total Hours changed from 0.0 to 0.5

ED: I'm not able to set the domain thepowerofjustdoingstuff.org to use the redirects zone file unless I'm the tech-contact for the domain -- can you change this please, see https://www.gandi.net/whois/details?search=thepowerofjustdoingstuff.org and the second sentence on this page for more details, wiki:DomainNames

We use Nginx on wiki:PenguinServer for redirects and the (somewhat out of date) domain names are all documented on wiki:DomainNames

The /etc/nginx/sites-available/redirects file was edited and the following was added:

server {
       listen 80;
       server_name power.transitionnetwork.org 
                    thepowerofjustdoingstuff.org 
                    www.thepowerofjustdoingstuff.org;
        rewrite ^ http://www.transitionnetwork.org/power-just-doing-stuff permanent; 
}

But then a restart failed:

Configuration test failed!
nginx: [emerg] could not build the server_names_hash, you should increase either server_names_hash_max_size: 1024 or server_names_hash_bucket_size: 64
nginx: configuration file /etc/nginx/nginx.conf test failed

So this was edited in /etc/nginx/nginx.conf:

server_names_hash_max_size 2048;

And then Nginx restarted OK.

The Gandi Transition Network zone file was copied as version 12 and edited to add an entry for the power sub-domain:

* 3600 IN A 81.95.52.103
*.newdev 3600 IN A 81.95.52.103
*.parrot 3600 IN A 81.95.52.43
2010.archive 3600 IN A 81.95.52.111
2011.archive 3600 IN A 81.95.52.111
@ 3600 IN A 81.95.52.103
lists 3600 IN A 212.113.133.235
mail 3600 IN A 212.113.133.235
newdev 3600 IN A 81.95.52.103
parrot 3600 IN A 81.95.52.43
penguin 3600 IN A 81.95.52.111
power 3600 IN A 81.95.52.111
puffin 3600 IN A 81.95.52.103
redirects 3600 IN A 81.95.52.111
static 3600 IN A 81.95.52.111
stats 3600 IN A 81.95.52.111
tech 3600 IN A 81.95.52.111
trac 3600 IN A 81.95.52.111
wiki 3600 IN A 81.95.52.111
www 3600 IN A 81.95.52.103
www.wiki 3600 IN A 81.95.52.111
@ 3600 IN MX 0 mx1.spamfiltering.com.
@ 3600 IN MX 5 mx2.spamfiltering.com.
tech 10800 IN MX 10 mx.webarch.net.

And this version was made live and tested with dig:

dig @A.DNS.GANDI.NET power.transitionnetwork.org +short
  81.95.52.103
dig -x 81.95.52.103 +short
  puffin.webarch.net.

So the DNS update has yet to take effect as it should be pointing to penguin.webarch.net, this should be resolved soon.

comment:2 Changed 3 years ago by ed

Chris: domain set to have you as technical contact

second line of wiki page duly noted :)

comment:3 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 0.5 to 0.65

Thanks for making me the tech contact.

You had the domain using a old version of the Transition Redirects zone file (some other domains might be as well, we should do a audit and updated wiki:DomainNames at some point), I have changed it to use the right one, but it'll take some time for the DNS to update:

dig @A.DNS.GANDI.NET thepowerofjustdoingstuff.org +short
81.95.52.88

The power sub-domain has now updated:

dig power.transitionnetwork.org +short
  81.95.52.111
lynx -head -dump http://power.transitionnetwork.org/ | grep Location
  Location: http://www.transitionnetwork.org/power-just-doing-stuff

comment:4 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.1
  • Status changed from accepted to closed
  • Resolution set to fixed
  • Total Hours changed from 0.65 to 0.75

The DNS has now updated:

dig @A.DNS.GANDI.NET thepowerofjustdoingstuff.org +short 
  81.95.52.111
dig thepowerofjustdoingstuff.org +short 
  81.95.52.111
lynx -head -dump http://thepowerofjustdoingstuff.org/ | grep Location
  Location: http://www.transitionnetwork.org/power-just-doing-stuff

So these now all redirect to http://www.transitionnetwork.org/power-just-doing-stuff

So I'm closing this ticket.

comment:5 Changed 3 years ago by ed

thanks

Note: See TracTickets for help on using tickets.