Line 9: |
Line 9: |
| =Domain, Domain name server (DNS) and DynDNS= | | =Domain, Domain name server (DNS) and DynDNS= |
| Wikipedia[https://fr.wikipedia.org/wiki/Domain_Name_System]: | | Wikipedia[https://fr.wikipedia.org/wiki/Domain_Name_System]: |
− | A DNS is important when you want to reach your server from internet because you don't want to learn your IP by heart, you'd rather buy a domain like mycompany.org and use it to reach your server. When you type "www.mydomain.com" in a browser, your computer will call the default DNS; if this DNS doesn't know the IP attached to mycompany.org it will check with other DNS until it gets the answer, sometime www.mycompany.org can refers to another domain like datacenter1.mycompany.org, if it the case the DNS will look for the IP attached to datacenter1.mycompany.org. | + | A DNS is important when you want to reach your server from internet because you don't want to learn your IP by heart, you'd rather buy a domain like mycompany.org and use it to reach your server. When you type "www.mydomain.com" in a browser, your computer will call the default DNS; if this DNS doesn't know the IP attached to mycompany.org it will check with other DNS until it gets the answer, sometime www.mycompany.org can refers to another domain like datacenter1.mycompany.org. In this the case, the DNS will look for the IP attached to datacenter1.mycompany.org. |
| | | |
− | When you own a domain, you also own all the sub-domain like www.mycompany.org, erp.mycompany.org, yyy.xxx.mycompany.org ...; you can map this domain and its sub.domain to either an IP or another domain usually with the company that sold you the domain, here the main type that you will have to configure on the domain vendor portal: | + | When you own a domain, you also own all the sub-domain like www.mycompany.org, erp.mycompany.org, yyy.xxx.mycompany.org ...; you can map this domain and its sub.domain to either an IP or another domain, usually with the company that sold you the domain. Here the main type that you will have to configure on the domain vendor portal: |
| # "CNAME" record: used to map to another domain | | # "CNAME" record: used to map to another domain |
| # "A" record: use to map an IP v4 | | # "A" record: use to map an IP v4 |
| # "AAAA" record: use to map an IP v6 | | # "AAAA" record: use to map an IP v6 |
− | # In case you don't own a fixed IP you can use a Dynamic DNS[https://en.wikipedia.org/wiki/Dynamic_DNS] service: there is a daemon runing on your network that will keep updating your IP in the DNS (usually the internet modem/gateway have this funciton). Often you will have to configure a dynamic DNS username and password on your domain vendor portal. | + | # In case you don't own a fixed IP, you can use a Dynamic DNS[https://en.wikipedia.org/wiki/Dynamic_DNS] service: there is a daemon running on your network that will keep updating your IP in the DNS (usually the internet modem/gateway have this function). Often you will have to configure a dynamic DNS username and password on your domain vendor portal. |
| | | |
| Here the example for OVH: https://docs.ovh.com/gb/en/domains/web_hosting_how_to_edit_my_dns_zone/ | | Here the example for OVH: https://docs.ovh.com/gb/en/domains/web_hosting_how_to_edit_my_dns_zone/ |
− |
| |
| | | |
| =Port Forwarding, DMZ and Reverse Proxy= | | =Port Forwarding, DMZ and Reverse Proxy= |