S
S
Space_Orange2020-11-13 12:02:39
linux
Space_Orange, 2020-11-13 12:02:39

How to bind a domain to a dynamic ip?

I have a raspberry pi 3 B+ with nginx installed connected to a xiaomi router and a domain registered on reg.ru raspberry has a dynamic ip. How to bind a domain to it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sanes, 2020-11-13
@Sanes

Through services like DynDNS and No-IP.
The main thing is not to confuse dynamic with white IP.

M
Mikhail Vasilyev, 2020-11-13
@vasilyevmn

There is only one normal way - to buy a white IP from the provider.
There are crutches of the form - to buy a VPS and set up a tunnel with port forwarding, but it makes no sense, since it's easier to buy a white IP.

R
Roman Mirilaczvili, 2020-11-13
@2ord

I use DDNS to access the router via the Internet. Well, to access port 80, you need to set a static IP for the raspberry (for example, 10.10.10.10) and in the router forward from external port 80 to a static IP with port 80.
Internet => router: 80 => 10.10.10.10: 80

L
lossyy, 2020-11-15
@lossyy

1. Buy a white IP address service from the provider
2. Delegate the domain to Yandex servers via Yandex.connect (you will manage the DNS domain in this way)
3. Register your IP cname record in the DNS of the domain server on Yandex. Everything is described in more detail there in Yandex Connect, but it will take you a little time to understand.
PS DNS registrar will not help you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question