Handle multiple hosted domains option for GitLab Pages to address ethical and phase out concerns

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Phase out concern

With the announcement of the British government to give up sovereignty of the Chagos Islands the future of the .io TLD is unknown:

https://every.to/p/the-disappearance-of-an-internet-domain

Since we use .io for the generic gitlab.io domain that is used by all Pages deployments that don't have a custom domain, this is potentially impactful.

It looks like a potential phase-out of the .io domain will be slow and careful, with new registrations being closed first and ICANN working with existing domain holders to "move" later.

Still, we should be monitoring this development and maybe discuss alternatives, this is what this issue is for.

Ethical concern

Not the least this would also handle the ethical concern of using .io domain described in more detail at #297229 (closed)


The 2 issues request an alternative to .io from different angles, but since this issue has more context on implementation options it makes sense to unify the two issues and keep a SSoT.

Edited by Alexandru Croitor