Flaredown icon indicating copy to clipboard operation
Flaredown copied to clipboard

www.flaredown.com should work

Open benlangfeld opened this issue 4 years ago • 5 comments

Missing DNS record. Surprising to users. Both www. and the bare domain should work.

❯ dig www.flaredown.com

; <<>> DiG 9.10.6 <<>> www.flaredown.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59061
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.flaredown.com.             IN      A

;; AUTHORITY SECTION:
flaredown.com.          300     IN      SOAns1.dnsimple.com. admin.dnsimple.com. 1429579043 86400 7200 604800 300

;; Query time: 179 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Oct 11 15:30:16 -03 2021
;; MSG SIZE  rcvd: 101

benlangfeld avatar Oct 11 '21 18:10 benlangfeld

We actually don't know how to resolve this because we don't yet know where the source code for the landing site is or where it is deployed. @bklang @lmerriam

benlangfeld avatar Oct 13 '21 15:10 benlangfeld

The landing page lives in https://github.com/Flaredown/flaredown and is hosted on Github Pages. We'll have to do some sort of redirect outside of the app. Sometimes DNS registrars can provide this functionality, so it would depend on the registrar.

benlangfeld avatar Oct 13 '21 15:10 benlangfeld

According to Github docs:

If you are using an apex domain as your custom domain, we recommend also setting up a www subdomain. If you configure the correct records for each domain type through your DNS provider, GitHub Pages will automatically create redirects between the domains. For example, if you configure www.example.com as the custom domain for your site, and you have GitHub Pages DNS records set up for the apex and www domains, then example.com will redirect to www.example.com.

We'd just need to add the following zone entry: www. CNAME flaredown.github.io

benlangfeld avatar Oct 13 '21 15:10 benlangfeld

@benlangfeld I've just added the record and it appears to be working on my end

lmerriam avatar Oct 13 '21 16:10 lmerriam

Thanks @lmerriam , looks good. Might be interesting to force TLS also while we're at it.

benlangfeld avatar Oct 13 '21 17:10 benlangfeld