domain 1 ---> |
domain 2 ---> | domain 0 ---> server
domain 3 ---> |
...
<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>
nslookup -type=all loustfillmstv.pw
Non-authoritative answer:
loustfillmstv.pw internet address = 185.174.173.169
loustfillmstv.pw nameserver = ns1.reg.ru
loustfillmstv.pw nameserver = ns2.reg.ru
loustfillmstv.pw
primary name server = ns1.reg.ru
responsible mail addr = hostmaster.ns1.reg.ru
serial = 1513334766
refresh = 14400 (4 hours)
retry = 3600 (1 hour)
expire = 604800 (7 days)
default TTL = 10800 (3 hours)
loustfillmstv.pw nameserver = ns1.reg.ru
loustfillmstv.pw nameserver = ns2.reg.ru
nslookup -type=all joyukasonos.pw
DNS request timed out.
timeout was 2 seconds.
*** Request to myhost.local timed-out
DocumentRoot /var/www/html
Find more questions by tags Domain name systemUbuntu Server* nix-like systems
The question is crooked, the title of the issue there is a conversation about DNS, and then shows part of the Apache config. Confused confused, that the vehicle is necessary, whether he has two websites or one website and all the rest he needs to forwardit at first.
If he has two sites, in the Apache config error and will always open first, even if it configures the DNS for the second.
If a website loustfillmstv.pw and he needed to requests from browsers-clients on the other domains were redirected to the first, it need to configure DNS Forwarding. - nicklaus.OKeefe commented on June 10th 19 at 14:56