S
S
Sergey Bydanov2016-04-27 11:30:25
IIS
Sergey Bydanov, 2016-04-27 11:30:25

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

and
post CNAME post.domen.no-ip.biz


However, both addresses only open the default Web site. What needs to be done to make subdomains available?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Bydanov, 2016-10-19
@sergarcada

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 :)

O
osj, 2016-04-27
@osj

In IIS write cname for existing domains.

A
Anton Nagaets, 2016-04-27
@gr1mm3r

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.

V
VDoskuSvoi, 2016-05-29
@VDoskuSvoi

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 question

Ask a Question

731 491 924 answers to any question