GFDRR / rdl-standard

The Risk Data Library Standard (RDLS) is an open data standard to make it easier to work with disaster and climate risk data. It provides a common description of the data used and produced in risk assessments, including hazard, exposure, vulnerability, and modelled loss, or impact, data.
https://docs.riskdatalibrary.org/
Creative Commons Attribution Share Alike 4.0 International
16 stars 1 forks source link

[Website] Links, URLS and redirects #226

Closed matamadio closed 1 year ago

matamadio commented 1 year ago

Before RDL dissemination, we need to update links and redirects.

In riskdatalibrary.org:

duncandewhurst commented 1 year ago

Rather than setting up an HTTP redirect, we'll want to set https://docs.riskdatalibrary.org/ up as a custom domain per the instructions in https://docs.readthedocs.io/en/stable/guides/custom-domains.html#adding-a-custom-domain. This will involve updating the DNS settings for https://docs.riskdatalibrary.org/.

Create new redirect for http://rdsl-cove-dev-main.dokkurdlsdev1.ods.mobi/ , and add it to top menu, proposed url and names:

* toolkit.riskdatalibrary.org

* metadata.riskdatalibrary.org

  * this directs to cove tool while is the only tool done; it can become a landing page whenever we have more tools

http://rdsl-cove-dev-main.dokkurdlsdev1.ods.mobi/ is the URL to the (temporary) development instance. I think that this will change once the live version is deployed. @radix0000 will need to let us know what the final URL is. As above, I think we'll want to configure the DNS records for the above subdomains, rather than setting up HTTP redirects or domain name forwarding.

stufraser1 commented 1 year ago

This will involve updating the DNS settings for https://docs.riskdatalibrary.org/.

Task for you, I think @pzwsk

radix0000 commented 1 year ago

Have created the live server, though it isn't up and running yet.

I think our ideal would be for toolkit.riskdatalibrary.org and metadata.riskdatalibrary.org to each have a CNAME pointing at rdls.cove.opendataservices.coop (I have already created this subdomain).

This would give us some indirection/flexibility at our end as well.

duncandewhurst commented 1 year ago

I've added docs.riskdatalibrary.org as a custom domain in the Read the Docs admin portal. @pzwsk please can you do the next step:

To configure this domain add a CNAME record in your DNS pointing your custom domain to readthedocs.io.

pzwsk commented 1 year ago

I've added docs.riskdatalibrary.org as a custom domain in the Read the Docs admin portal. @pzwsk please can you do the next step:

To configure this domain add a CNAME record in your DNS pointing your custom domain to readthedocs.io.

Done

image

pzwsk commented 1 year ago

Looks like there is an issue though.

image

pzwsk commented 1 year ago

rdls.cove.opendataservices.coop

Subdomain rdls.cove.opendataservices.coop does not work (400 bad request)

duncandewhurst commented 1 year ago

Looks like there is an issue though.

image

It should be working OK now. https://docs.riskdatalibrary.org and https://docs.riskdatalibrary.org/en/dev/ are working for me, and https://rdl-standard.readthedocs.io/ redirects to https://docs.riskdatalibrary.org. You might need to force a refresh (Ctrl+F5), clear your DNS cache or wait for DNS changes to propagate, but let me know if you're still having issues.

@radix0000 please could you look into the issue with rdls.cove.opendataservices.coop

matamadio commented 1 year ago

https://www.rdl-standard.readthedocs.io/ redirects to https://docs.riskdatalibrary.org.

Both edge and firefox give me "unsafe connection" for https://www.rdl-standard.readthedocs.io, unsupported protocol.

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

rdls.cove.opendataservices.coop

Bad Request (400)

duncandewhurst commented 1 year ago

https://www.rdl-standard.readthedocs.io/ redirects to https://docs.riskdatalibrary.org.

Both edge and firefox give me "unsafe connection" for https://www.rdl-standard.readthedocs.io, unsupported protocol.

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Oh, sorry. That's because I mistakenly typed www. at the start of the URL in my previous comment. The URL is actually https://rdl-standard.readthedocs.io/, which doesn't have those errors. There's no www. links 'in the wild' and I've edited my previous comment to remove it.

matamadio commented 1 year ago

See new website dev #253