Code Monkey home page Code Monkey logo

Comments (20)

mitsuhiko avatar mitsuhiko commented on July 22, 2024 3

I think the right solution here would be to port all of this to github pages. I can rebind the DNS if someone can publish it there.

from lektor-website.

mitsuhiko avatar mitsuhiko commented on July 22, 2024 3

I rebound the addresses to point to github pages instead. Should go into effect soon.

from lektor-website.

dwt avatar dwt commented on July 22, 2024 1

@mitsuhiko Do you have an update when you'll be able to rebind the DNS? I would really like the lektor website move to GitHub pages and that seems to currently block this solid. :/

from lektor-website.

nixjdm avatar nixjdm commented on July 22, 2024 1

The txt record is ready to be added. I can verify it after it is added and has propagated. @mitsuhiko could you please then, in addition to @dairiki's previous instructions, also add the txt record listed here?

from lektor-website.

nixjdm avatar nixjdm commented on July 22, 2024 1

from lektor-website.

dwt avatar dwt commented on July 22, 2024 1

@dairiki Not sure he's actually getting the emails from here, have you tried emailing him directly or giving him a call?

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024 1

@dwt Email sent (just now)

from lektor-website.

nixjdm avatar nixjdm commented on July 22, 2024

I can see LEKTOR_DEPLOY_PASSWORD and LEKTOR_DEPLOY_USERNAME in this repo's secrets, updated spring of last year, but I can't see their contents, and I don't have direct access to the server. @mitsuhiko, I think you're the only one here with server access. Can you take a look and maybe fix this?

from lektor-website.

maste9 avatar maste9 commented on July 22, 2024

@dairiki I guess that's the answer to my request from the gitter channel?

For I still don't see any new plugins on getlektor.com 😞

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

PR #337 will publish the site to github pages with a CNAME file setting the "custom domain" to www.getlektor.com.

@mitsuhiko, when you're ready to flip the DNS switches, let me know and I'll merge the PR. (Or you can merge it yourself.)

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

I think the right solution here would be to port all of this to github pages. I can rebind the DNS if someone can publish it there.

@mitsuhiko I still think we're still ready to switch to GH Pages. We have a GitHub action set up that publishes to https://lektor.github.io/lektor-website/

I think all that we need DNS-wise is:

www.getlektor.com. CNAME lektor.github.io.

And, ideally, the following records at getlektor.com (to allow GitHub to do the redirect from getlektor.com to www.getlektor.com):

getlektor.com. A 185.199.108.153
getlektor.com. A 185.199.109.153
getlektor.com. A 185.199.110.153
getlektor.com. A 185.199.111.153
getlektor.com. AAAA 2606:50c0:8000::153
getlektor.com. AAAA 2606:50c0:8001::153
getlektor.com. AAAA 2606:50c0:8002::153
getlektor.com. AAAA 2606:50c0:8003::153

(or, if the registrar/DNS service supports the non-standard ALIAS or ANAME "records", this can be done more tersely as getlektor.com. ALIAS lektor.github.io. — or similar with ANAME)

Once that's done, merge #337 to create the CNAME file.

GitHub's instructions on all of this are here.

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

@mitsuhiko Ping!

I think the right solution here would be to port all of this to github pages. I can rebind the DNS if someone can publish it there.

We've implemented a workflow that publishes to github pages. That was done over two months ago.
Please, either make the DNS updates to point getlektor.com to the github pages, or let us know some alternative plan to be able to update the content on the getlektor.com website.

Thank you!

from lektor-website.

nixjdm avatar nixjdm commented on July 22, 2024

I don't want to make the burden of doing this any harder, but if you're ok with it @mitsuhiko, I'd suggest modifying the DNS at the same time to support an eventual docs. subdomain, as hoped for in #226. If that's done ahead of time, that move could be done by other maintainers when ready, so you wouldn't be needed to step in at that point, too.

@dairiki Is that a simple extension of the snippet you provided above, like I'd think? Is there a reason not to do this? The only negative effect that's obvious to me is docs. subdomain resolving while not being used unless/until that work completes. But while getlektor.com/docs still works, that doesn't seem like a big deal to me.

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

I'd suggest modifying the DNS at the same time to support an eventual docs. subdomain, as hoped for in #226.

This is probably not a good idea unless/until we have a site ready to go for the subdomain.

If DNS for a domain name is pointed to Github pages (and that domain name has not been "verified" — i.e. claimed — by a specific user or organization) then any Github pages site may claim to be that domain and serve up arbitrary content. (More here.)


Which brings up the point that the lektor Github organization ideally should "verify" ownership of the getlektor.com domain. This requires creating a special TXT record in DNS for the domain, (and also requires Github permissions to edit organization settings which I, apparently, do not have.)
@mitsuhiko, If you feel like attempting this, instructions are here.

from lektor-website.

nixjdm avatar nixjdm commented on July 22, 2024

I see, thanks. Could we instead post a trivial page then in order to verify it, like an html redirect to /docs/? Or even a blank page? Then that could one day be updated. I'm just trying to get the most out of a single session of @mitsuhiko's time here.

Also I'm pretty sure I do have sufficient GitHub org perms to modify those settings, so I can try to help there. I just don't have DNS access.

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

My understanding is that if we "verify" the getlektor.com domain (by going through the process involving creating a custom TXT record) that would protect all immediate subdomains (e.g. docs.getlektor.com) from being claimed by any Github pages sites outside of the lektor organization.
So, if that is done, there is no real need to create a stub site to project the domain — not that that's a bad idea. (If DNS is pointed to Github pages and no site claims that domain, Github serves up a 404 page: "There isn't a GitHub Pages site here.")

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

Also I'm pretty sure I do have sufficient GitHub org perms to modify those settings, so I can try to help there. I just don't have DNS access.

@nixjdm If you can, it is probably a good idea to go through the steps to verify ownership of getlektor.com (instructions here) up to to step that requires DNS access. Then pass on the details of the TXT record to be created to @mitsuhiko. Finally, when the TXT record has been created (even if that takes a while) it sounds like you can click the button to complete the process.

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

(@nixjdm The link to the txt record you provided 404s for me. Hopefully, it works for organization admins.)

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

@mitsuhiko Here's a quarterly ping to keep this thread alive.

If you could point DNS for {www.,}getlektor.com to our GH Pages, that would allow us to be able to update the website.

If, for whatever reason, you're unwilling or unable to do so, let us know, too, so we can stop holding or breath ;-)

Thank you!

from lektor-website.

dairiki avatar dairiki commented on July 22, 2024

@mitsuhiko Thank you, thank you! I've updated things so that we have the correct CNAME file in our gh-pages branch. Things seem to be working!

I notice that there appears to be only one A record listed for getlektor.com. The recommendation appears to be to set four A records and four AAAA records as described in step number 5 in these docs.

Here's what I see from here:

$ dig -t A +noall +answer getlektor.com
getlektor.com.		3573	IN	A	185.199.108.153

$ dig -t AAAA +noall +answer getlektor.com
# (nothing)

Ideally, we want all of these:

getlektor.com. A 185.199.108.153
getlektor.com. A 185.199.109.153
getlektor.com. A 185.199.110.153
getlektor.com. A 185.199.111.153
getlektor.com. AAAA 2606:50c0:8000::153
getlektor.com. AAAA 2606:50c0:8001::153
getlektor.com. AAAA 2606:50c0:8002::153
getlektor.com. AAAA 2606:50c0:8003::153

from lektor-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.