Answer the question
In order to leave comments, you need to log in
How to organize home hosting on dynamic IP?
The task is next. There is a dynamic IP, domen.no-ip.biz, a domain name vasyapupkin.ru and a home server with IIS. It is necessary to connect all these four components into one, so that when a request is made to the address post.vasyapupkin.ru and blog.vasyapupkin.ru, the necessary pages open. That is, the work of subdomains is necessary.
What is done now. A default Web site and two Web sites named post and blog are created on the IIS server. The registrar's website has a CNAME of the form
blog CNAME blog.domen.no-ip.biz
post CNAME post.domen.no-ip.biz
Answer the question
In order to leave comments, you need to log in
In general, there was such a solution. We delegate the domain to Yandex . And Yandex has an api for changing the DNS configuration. To do this, you need a token from Yandex (see help at pdd.yandex.ru ) and wget, which is also available under Windows. You can read more about dyndns for yourself on Habré . I used the method described in the first comment to the article. And then everything is solved by standard methods.
As a bonus, you get mail on Yandex for your site :)
1) Accept all requests on port 80.
2) Set up virtual hosts and paths to their folders.
3) Teach IIS to run through these folders. the rest is like working with DNS * - all hosts and subdomains, @ the head domain itself. work. - as subdomain work.vasyapupkin.ru . And for each such host you make your own binding.
Not worth it. DNS is cached. And cheap home routers generally cache it until reboot.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question