Domains and DNS

cavelib-hetzner.local | hetzner.caving-library.org.uk

Author: David Gibson. For page date see footer

This page is out-of-date and requires updating.

Table of Domains

This table shows the present list of domains and sub-domains associated with the migration. Quite a bit of the configuration currently reported here refers specifically to BCRA's cloud files which have been migrated from cloud storage at Memset, to web storage at Hetzner. The migration will eventually encompass caving-library.org.uk, forms.hidden.earth and the relevant parts (mail, I think) of hidden.earth but I am not aware of any decision regarding the eventual migration of gharparau.org.uk orcave-registry.org.uk.

Sub- and Alias-Domains ★1 Client ★2 Special Domain? ★3 Document Root
/var/www/clients ...
Notes
archivetest.bcra.org.uk BCRA /client1/web1/web/cdn now correctly redirects to /cdn/
cloud3.bcra.org.uk BCRA /client1/web1/web/cdn correctly redirects to /cdn/
hetzner.bcra.org.uk BCRA /client1/web1/web ok
hetzner.caves.org.uk DG /client3/web15/web ok
hetzner.caving-library.org.uk BCL /client5/web7/web correctly shows {H} default welcome
hetzner.eug.bcra.org.uk BCRA eug.bcra.org.uk /client1/web11/web correctly shows {H} default welcome
lists.bcra.org.uk BCRA Its not clear to me how this works ★4 ok
orphan.bcra.org.uk (not https) no client set at {H} ok. Viz: Apache default
gibson-cloud.caves.org.uk BCRA bcra.org.uk /client1/web1/web/cdn now correctly redirects to /cdn/gibson/
gibson-cloud2-unexe.caves.org.uk BCRA bcra.org.uk /client1/web1/web/cdn now correctly redirects to /cdn/gibson-unexe/
wellhouse.me ★5 DG no domains configured yet  

Notes

  1. Sub- and alias-domain hyperlinks are now https on this page. Hetzer does not automatically map http to https (but it is a setting that can be made). On britiac4 I did the mapping in htaccess but in this {H} demo – where there is no mapping at all – it might be a cause of the peculiarities Im seeing, which include behaviour that is inconsistent across different browsers
  2. Client refers to the client settings at {H}
  3. Special Domain refers to settings at {H} where certain subdomains are configured as separate sites
  4. lists.bcra.org.uk – What isnt clear is how /lists/ maps to Sympa; but I dont need to know that. The sub-domain settings do not include a 'forwarding' setting so, rather than add it (which doesnt always seem to work), I have configured a rewrite in htaccess that maps this domain to lists.bcra.org.uk/lists/
  5. wellhouse.me is currently configured as an aliasdomain for bcra.org.uk at britiac4. The DNS does not yet point to {H}

DNS Settings

To avoid any doubts as to the set-up, the DNS settings are reported here. Last checked 21-May-2025.

Sub- and Alias-Domains DNS Record set at
archivetest.bcra.org.uk a ¦ archivetest ¦ 65.109.241.61 bcra.org.uk
cloud3.bcra.org.uk a ¦ cloud3 ¦ 65.109.241.61 bcra.org.uk
hetzner.bcra.org.uk a ¦ hetzner ¦ 65.109.241.61 bcra.org.uk
hetzner.caves.org.uk a ¦ hetzner ¦ 65.109.241.61 caves.org.uk
hetzner.caving-library.org.uk a ¦ hetzner ¦ 65.109.241.61 caving-library.org.uk
hetzner.eug.bcra.org.uk a ¦ hetzner.eug ¦ 65.109.241.61 bcra.org.uk
lists.bcra.org.uk a ¦ lists ¦ 65.109.241.61 bcra.org.uk
orphan.bcra.org.uk (not https) a ¦ orphan ¦ 65.109.241.61 bcra.org.uk
gibson-cloud.caves.org.uk cname ¦ gibson-cloud ¦ cloud3.bcra.org.uk. caves.org.uk
gibson-cloud2-unexe.caves.org.uk cname ¦ gibson-cloud2-unexe ¦ cloud3.bcra.org.uk. caves.org.uk
wellhouse.me a ¦ * ¦ 31.25.186.126 wellhouse.me
also a ¦ srv1 ¦ 65.109.241.61 bcra.org.uk

Subdomain Forwarding

{H} forwards subdomains to the location specified in the ISPconfig setup. This is augmented by DG's coding in htaccess as follows.

Subdomain htaccess action
archive-cloud.bcra.org.uk BCRA redirects to
https://cloud3.bcra.org.uk/public%{REQUEST_URI}
cavescience2-cloud.bcra.org.uk BCRA redirects to
https://cloud3.bcra.org.uk/cavescience%{REQUEST_URI}
gibson-cloud.caves.org.uk {H} at /cdn/ redirects ^/[^/]+(.*)$ to
https://cloud3.bcra.org.uk/gibson%1
gibson-cloud2-unexe.caves.org.uk {H} at /cdn/ redirects ^/[^/]+(.*)$ to
https://cloud3.bcra.org.uk/gibson-unexe%1