Hey.
I saw this structure among my friends:
домен 1 ---> | домен 2 ---> | домен 0 ---> сервер домен 3 ---> | ... Domains (1,2,3) refer to domain 0, with NS.domain0.com being registered in domains (1,2,3). Those. It comes out very conveniently, you need to add only one entry in NS.domain0.com to NS of the new domain when a new domain appears.
I can not repeat this trick. C Domain 0 - I can open the site, with Domain 1 no. In my case:
- Server - 185.174.173.169
- Domain 0 - loustfillmstv.pw
- Domain 1 - joyukasonos.pw
/etc/apache2/sites-enabled/000-default.conf:
<VirtualHost loustfillmstv.pw:80> ServerName loustfillmstv.pw ServerAlias www.loustfillmstv.pw ServerAdmin webmaster@localhost DocumentRoot /var/www/html </VirtualHost> <VirtualHost joyukasonos.pw:80> ServerName joyukasonos.pw ServerAlias www.joyukasonos.pw DocumentRoot /var/www/html </VirtualHost> What am I doing wrong?
loustfillmstv.pwworks fine, and for the domain namejoyukasonos.pw,joyukasonos.pware specified, whose names are resolved to the same ip address 185.174.173.169, which does not respond to dns requests. - aleksandr barakin