#11616 redirect "discussions.fedoraproject.org" to "discussion.fedoraproject.org"
Closed: Fixed a year ago by kevin. Opened a year ago by mattdm.

I've seen several people use the plural recently. Let's make a redirect so these just work.


Can this be assigned to me? I'd like to try to work on this. Thanks!
- Leo

Looks like a simple change in dns is needed, no redirect as it's a CNAME entry.

diff --git a/fedoraproject.org.template b/fedoraproject.org.template
index 4d64f9df..673d53dc 100644
--- a/fedoraproject.org.template
+++ b/fedoraproject.org.template
@@ -447,6 +447,7 @@ developer       IN    CNAME wildcard
 developers      IN    CNAME wildcard
 devnull         IN    A     0.0.0.0
 discussion      IN    CNAME fedoraproject.hosted-by-discourse.com.
+discussions     IN    CNAME fedoraproject.hosted-by-discourse.com.
 directory       IN    CNAME wildcard
 discourse2fedmsg IN    CNAME wildcard
 doc             IN    CNAME wildcard

We can add a new CNAME, but... the ssl cert is for 'discussion.fedoraproject.org' and browsers would complain. ;(

So, the only way I see is to add discussions.fedoraproject.org to our proxies, then setup a redirect there to discussion and get a letsencrypt cert for it. ;)

That would need:

adding dns pointing to wildcard
playbooks/groups/include/proxies-websites.yml adding a discussions.fedoraproject.org site and letsencrypt enabling it. .
playbooks/groups/include/proxies-redirects.yml adding a redirect with that site that redirects to discussion.fedoraproject.org.

@leo you still willing to work on this?

Metadata Update from @kevin:
- Issue assigned to leo

a year ago

Ah, right I forgot about SSL. I'll take a look, yes I'm still willing to work on this!

DNS wildcard entry (putting this here as the dns repository isn't on pagure and I can't add a PR)

diff --git a/fedoraproject.org.template b/fedoraproject.org.template
index 4d64f9df..a7c2609c 100644
--- a/fedoraproject.org.template
+++ b/fedoraproject.org.template
@@ -447,6 +447,7 @@ developer       IN    CNAME wildcard
 developers      IN    CNAME wildcard
 devnull         IN    A     0.0.0.0
 discussion      IN    CNAME fedoraproject.hosted-by-discourse.com.
+discussions      IN    CNAME wildcard
 directory       IN    CNAME wildcard
 discourse2fedmsg IN    CNAME wildcard
 doc             IN    CNAME wildcard

PR: https://pagure.io/fedora-infra/ansible/pull-request/1630

Metadata Update from @phsmoura:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, low-trouble, ops

a year ago

@mattdm The redirect is created and this can be closed!

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog