network-programmingdnsnoip

Configure his web server with DNS domain


I bought a Raspberry Pi 3 model B+ few days ago in order to set a web server. I have a web application (Django framework) with gunicorn + nginx server application.

I'm the worst noobie with network domain !

Today, I bought a domain name on Gandi (https://www.gandi.net/en) : www.astrophoto-val.fr

Then, I bought a DyDNS account on No-IP (https://www.noip.com/) and I added my domain name from Gandi.

Through this way, I can plug my Raspberry in my home and access from external network to my Raspberry thanks to DyDNS rules in my network router.

I configured Gandi Names Servers like this :

DNS1 : ns1.no-ip.com
DNS2 : ns2.no-ip.com
DNS3 : ns3.no-ip.com
DNS4 : ns4.no-ip.com
DNS5 : ns5.no-ip.com

And with No-IP in DNS Hosts/Redirects :

enter image description here

Is it correct or not at all ?


Solution

  • To ensure there are no DNS issues, follow the below steps -