Skip to content

Conversation

@MrLixm
Copy link

@MrLixm MrLixm commented Aug 22, 2025

Hello, this PR introduce an overhaul of the documentation about domains and DNS.

I initially went for minimal changes but got a bit obsessed and end-up going full in @_@

DNS and domain were probably the most confusing topics I had when using YunoHost so I thought it would be worth having an extra-polished documentation for this topic. This means I am not an expert in those domains and relied mainly on external sources to verify my understanding.

The overall change direction is trying to regroup information and avoid having it scattered on different pages.

I am open to discuss the changes using other communication medium as I'm aware the changes might be hard to review.

Let me know what you think and what could be done better,
Cheers !
Liam.

what changed

(modified) get_started/install_on

improved the “Main domain” section, added a Tabs widget to present the 3 options.

(modified) /get_started/post_install/dns_config

the content of this page was fully moved to /domains/dns_configuration

instead we simply redirect the user to the necessary steps he might have to perform

(modified) /domains/index

  • overall polish and simplification
  • new screenshot added (more recent YunoHost version)
  • added missing 4th subdomain option in the Tabs widget
  • added “Installing an application on a domain” section
  • added “Changing an application assigned domain.” section

🗑 (removed) /tutorials/domains/dns_subdomains

this page was removed and merged with the new /domains/dns_configuration and /domains/index

🗑 (removed) /tutorials/domains/dns_nohost_me

this page was moved to /domains/dns_nohost_me

(added) /domains/dns_nohost_me

this page was originally /tutorials/domains/dns_nohost_me

  • overall simplication
  • completely changed “Changing your free domain” and “Retrieving an existing free domain” sections

(added) /domains/dns_configuration

this page was originally /tutorials/domains/dns_subdomains

  • added "A brief explication of domain names” section
  • added “A brief explication of DNS records.” section
  • used the autohotkey syntax highlighting for code blocks (works best with zone file syntax)
  • “Recommended DNS configuration”:
    • removed the table as this created redundant information and we instead explain the code block structure in the new section.
  • “Subdomains”:
    • this was partially retrieved from /tutorials/domains/dns_subdomains
    • added another example if your apex domain is already in use and you just want to set new subdomains
  • should fix Update dns_config.md:fix wrong DNS command #2581

need input

  1. I added redirects for page which have been removed, is it fine ?
  2. I didn’t update the i18n pages because I don’t know how they work, is it possible to have an explanation on how to update those ?
  3. /admin/domains/dns_nohost_me#retrieving-an-existing-free-domain
    when a user forgot is free domain password, is it okay to mention they must ask a reset on the forum thread ?
  4. Should we refer YunoHost's domains as “free domains” / “automatic domains” or even “dynDNS domains” ?
  5. /admin/domains/index#changing-an-application-assigned-domain
    Is the workflow to reinstall an app correct ? I’m not sure if we shoudlo really reinstall the app before restoring the backup. (this are the pre-pr instructions).
  6. The recommended DNS records include wildcard records. Should we add a note explaining wildard record ? Are they really necessary ?
  7. In the YunoHost web interface > Domains > {yourdomain.tld} > DNS, there is 2 documentation links that are broken. Should we add redirections for those too ? (related to #2620 )
    (upload screenshot)
  8. with a fresh git clone, I had error building the doc. I had to fix docs\admin\05.get_started\10.providers\05.registrar\_category*_*.yaml by adding a Label: Registrar key inside. this change have not been commited but maybe should be ? I don’t know how category.yaml works.

references

MrLixm added 6 commits August 21, 2025 18:41
…ation

this is an overall polish of the existing information that should hopefully make it more clear for the first-time user.
- try to regroup the information related to DNS and domains at a single place.
  - this required deleting 2 pages (redirects and links updates handled) and moving the content of one page.

- add more general knowledge about domains and DNS because those are complicated topics.

- i found the dns zone file syntax to be working the most with the autohotkey syntax
- added new screenshots (more recent versions)
- added 4th missing domain option
- other changes and overall polish
@OniriCorpe OniriCorpe self-requested a review August 24, 2025 09:40
@zamentur
Copy link
Member

zamentur commented Sep 17, 2025

  1. I added redirects for page which have been removed, is it fine ?

Yes thanks

  1. I didn’t update the i18n pages because I don’t know how they work, is it possible to have an explanation on how to update those ?

For example, french translations for /docs/admin/25.domains are in /i18n/fr/docusaurus-plugin-content-docs/current/admin/25.domains. All the .mdx should be translated...

We have no easy way to do it, we think put in place some .po mechanism, but it's not the case for now.

Did i answer your question ?

  1. /admin/domains/dns_nohost_me#retrieving-an-existing-free-domain
    when a user forgot is free domain password, is it okay to mention they must ask a reset on the forum thread ?

Yes for domain set before yunohost 11.2 we accept request for reseting a domain.

  1. Should we refer YunoHost's domains as “free domains” / “automatic domains” or even “dynDNS domains” ?

Where ?

  1. /admin/domains/index#changing-an-application-assigned-domain
    Is the workflow to reinstall an app correct ? I’m not sure if we shoudlo really reinstall the app before restoring the backup. (this are the pre-pr instructions).

I made a commit for this

  1. The recommended DNS records include wildcard records. Should we add a note explaining wildard record ? Are they really necessary ?

This is a good question, indeed wildcard record has advantage and pitfals that are not explained here. Specifically if users mistype a subdomain...

  1. In the YunoHost web interface > Domains > {yourdomain.tld} > DNS, there is 2 documentation links that are broken. Should we add redirections for those too ? (related to #2620 )
    (upload screenshot)

Yes, feel free to do it, thanks !

  1. with a fresh git clone, I had error building the doc. I had to fix docs\admin\05.get_started\10.providers\05.registrar\_category*_*.yaml by adding a Label: Registrar key inside. this change have not been commited but maybe should be ? I don’t know how category.yaml works.

I don't know myself sorry.

@MrLixm
Copy link
Author

MrLixm commented Sep 18, 2025

Thanks for the update !

For 2. this is quite a deal breaker, I don't have any translation capability in anything other than french. Are everybody just Google Translating the whole document and call it a day ? Or could I just remove the translation for the pages in the meanwhile someone translate them later ? If not does it really mean I have to retranslate manually in 7languages I don't know about ?

For 4. there's a few places where I mention "YunoHost free domains", I thought it would be good to agree on an unified term to use through the doc so it's clear for readers.

For 6. perhaps we can start with a warning that explains the pitfall of wildcard record, even if the diagnosis recommend those for now.

And we are good for all the other points thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants