Skip to content

Commit

Permalink
GITBOOK-58: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanwerfling authored and gitbook-bot committed Sep 3, 2023
1 parent ef9b47f commit 611f71c
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 1 deletion.
Binary file added .gitbook/assets/owndnsflow (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/owndnsflow (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/owndnsflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [IP Access](index/configurations/ip-access.md)
* [Domains](index/configurations/domains/README.md)
* [Own DNS Server](index/configurations/domains/own-dns-server.md)
* [Discussions Subdomains](index/configurations/domains/discussions-subdomains.md)
* [Routes](index/configurations/routes.md)
* [Developer](index/developer/README.md)
* [Ideas, requests and bugs](index/developer/ideas-requests-and-bugs.md)
Expand Down
24 changes: 24 additions & 0 deletions index/configurations/domains/discussions-subdomains.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Discussions Subdomains

I read in an article that Google finds it better if a page is not part of a subdomain. Which can contribute to a better ranking. This cannot now be substantiated with facts as to whether this is really the case. But I found the discussion about it interesting.

Let's think this through. A big company really shouldn't offer a site running under a subdomain that is part of a third party domain. In any case, in my opinion, this state of affairs paints the wrong picture. The first question that comes up would be, doesn't the company have enough money for a main domain?

This is an attitude that should be considered correct. However, this is only my opinion.

But now comes the big thing, I think subdomains are important and necessary. If a company offers internal services/portal. Which are not available to the public, then that's the way to go.

I could now create a subdomain under a Nextcloud is running. First of all, it would be an unknown service for third parties (bad people, I mean hackers). The domain would be unknown, since the service going through the reverse proxy cannot be resolved without the subdomain name.

## Benefits of a Subdomain

* So it's another hurdle and can be seen as a security feature.
* Subdomains are also easy to manage.
* Recognition is easier for users by grouping the main domain.



## Conclusion

It's one thing when we present something important, something for the public. I would totally understand Google along the way. But we can't do without it in the future either.

2 changes: 1 addition & 1 deletion index/configurations/domains/own-dns-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Example if you own the <mark style="background-color:purple;">example.com</mark>

<figure><img src="../../../.gitbook/assets/owndnsflow.png" alt=""><figcaption></figcaption></figure>

A domain <mark style="background-color:purple;">example.com</mark> gets an <mark style="background-color:red;">NS</mark> (name server) record from the provider. These records can only point to domain names. In addition, we create a sub domain <mark style="background-color:purple;">dyn.example.com</mark> whose <mark style="background-color:red;">A</mark> record gets the IP from our DynDNS client/or fixed IP. DNS servers are backwards resolving. That means if a <mark style="background-color:purple;">sub1.example.com</mark> is called but not found, <mark style="background-color:purple;">example.com</mark> is called. However, this does not return an <mark style="background-color:red;">A</mark> record, only the <mark style="background-color:red;">NS</mark> record. Now the client knows he must request a DNS server under the domain <mark style="background-color:purple;">dyn.example.com</mark>. With its IP resolution it gets the IP from the FlyingFish DNS server. Then the client asks this DNS server again and gets <mark style="background-color:purple;">sub1.example.com</mark> an <mark style="background-color:red;">A</mark> record.
A domain <mark style="background-color:purple;">example.com</mark> gets an <mark style="background-color:red;">NS</mark> (name server) record from the provider. These records can only point to domain names. In addition, we create a subdomain <mark style="background-color:purple;">dyn.example.com</mark> who's <mark style="background-color:red;">A</mark> record gets the IP from our DynDNS client/or fixed IP. DNS servers are backwards resolving. That means if a <mark style="background-color:purple;">sub1.example.com</mark> is called but not found, <mark style="background-color:purple;">example.com</mark> is called. However, this does not return an <mark style="background-color:red;">A</mark> record, only the <mark style="background-color:red;">NS</mark> record. Now the client knows he must request a DNS server under the domain <mark style="background-color:purple;">dyn.example.com</mark>. With its IP resolution it gets the IP from the FlyingFish DNS server. Then the client asks this DNS server again and gets <mark style="background-color:purple;">sub1.example.com</mark> an <mark style="background-color:red;">A</mark> record.

In the diagram you can see how the flow works:

Expand Down

0 comments on commit 611f71c

Please sign in to comment.