mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
7a01793062
* Revert "Revert "markdown format"" * fix formating * fix readme * add .markdownlint.json * add markdownlint-rules-grav-pages * add markdownlint-rules-grav-pages files * add license for Markdown Lint Rules for Grav Pages * fix [figure] mess * fix [figure] mess 2 * fix [figure] mess 3 * maj .gitignore * various fixes * fix markdownlint-rules-grav-pages * second formater pass * various manual fixes * add .markdownlintignore * markdownlintignore: auto-generated pages * disable proper-names for html_elements * another bunch of various markdown fixes * Update pages/02.administer/10.install/20.dns_config/dns_config.es.md Co-authored-by: tituspijean <titus+yunohost@pijean.ovh> --------- Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
---
|
|
title: How is used the main domain
|
|
template: docs
|
|
taxonomy:
|
|
category: docs
|
|
routes:
|
|
default: '/dev/maindomain'
|
|
---
|
|
|
|
Here is a list of situations in which we use the main domain concept:
|
|
|
|
- to expose the web portal: currently the web portal is only reachable through the main domain address (could be changed for multi tenant support in future)
|
|
- to define the hostname of the machine: we believe we do this to avoid some sudo errors (may be it's not relvant anymore or could be made in /etc/hosts)
|
|
- to TLS encrypt SMTP and dovecot: so user should define the main domain in their email client to avoid TLS warning
|
|
- To be able to do mail forwarding using the main domain as Sender Rewriting Scheme Domain see: <https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme>
|
|
- to define default email as (root@ abuse@) but we probably should do it on all parent domain instead
|
|
- to define `myhostname` in postfix config, used as EHLO and reverseDNS (refering to <https://mxtoolbox.com/emailhealth> test it should be a FQDN, so a subdomain)
|
|
- to generate the self-signed Local Authority: having just one allow to upload it in a browser and get an x509 authenticated https connexion.
|
|
- to define default xmpp DNS field: dns field are only set on the main domain by default
|
|
|
|
Finally we can imagine some apps use the main domain too, see
|
|
<https://github.com/search?q=org%3AYunoHost-Apps+main_domain&type=code>
|
|
<https://github.com/search?q=org%3AYunoHost-Apps+current_host&type=code>
|