A "frontend website" was designed for Wiki Loves Monuments in Italy.
It seems the backend API is already hosted in Wikimedia Cloud:
https://wlm-it-visual.wmcloud.org/
https://wikitech.wikimedia.org/wiki/Nova_Resource:Wlm-it-visual
So, maybe it would be nice to host the frontend website in Wikimedia Cloud as well.
The problem is, the supposed domain should be:
https://app.wikilovesmonuments.it
But Wikimedia Cloud does not support such custom domains.
As workaround, we can host the frontend in the server wmit-intreccio, but only if it's really lightweight, because of T340191.
Or, WMIT can handle that domain, redirecting the traffic to Wikimedia Cloud.
== Actionable things ==
So, it seems:
- if we want to serve `https://app.wikilovesmonuments.it` directly from server wmit-intreccio
- or if we want to create a redirect from `https://app.wikilovesmonuments.it` to Wikimedia Cloud from server wmit-intreccio
In any case we should setup the domain record to point on server wmit-intreccio.
Request stub:
https://wiki.wikimedia.it/wiki/Server_DNS
```
From: persona che sappia cosa sia un server DNS
To: tech chiocciola wikimedia.it
CC: direttivo chiocciola wikimedia.it
CC: Email personale di M/
Gentilissimi frequentatori della lista Tech,
in particolare al gentilissimo volontario M/ (attuale manutentore zone DNS),
Gentili membri del Direttivo in copia (per tradizione),
Con la presente, si richiede ad M/ (senza fretta) di salvare le seguenti modifiche nella zona DNS di
wikilovesmonuments.it:
app IN CNAME intreccio.wikimedia.it.
L'intenzione è quella di servire un sito frontend, oppure, creare un redirect a Wikimedia Cloud (ancora da decidere).
Qui altri dettagli a riguardo:
https://phabricator.wikimedia.org/T344676
Grazie in anticipo!
- NOME (RUOLO)
```
Shopping list
[X] understanding if the project is > 100MB: done. It should be ~20MB
[X] deciding whenever to host on server wmit-intreccio or on server wmf-wlm-it-visual (probably the second): we are just using Wikimedia Cloud, so, intreccio acts as a simple redirect - so we respect Wikimedia Cloud terms of services, and developers are more independent (they do not need access in WMIT servers)
[X] setup Apache2 stuff in server intreccio
[X] create DNS records: done by volunteer M/
[ ] be sure that developers have access into Wikimedia GitLab
[ ] publish https://github.com/densitydesign/wlm-backend on Wikimedia GitLab under https://gitlab.wikimedia.org/repos/wikimedia-it/
[ ] publish https://github.com/densitydesign/wlm-frontend on Wikimedia GitLab under https://gitlab.wikimedia.org/repos/wikimedia-it/
[ ] eventually set GitHub repo into just a read-only "archive"