Category: Software
Tags: PHP Raspberry Pi
To aadd a nw domain to the local lan config the /etc/dnsmasq.d/local-domains.conf file in the server to include the new domain.
Check with dnsmasq --test
If ok systemctl restart dnsmasq
Test on remote (on LAN) computer nslookup www.example.co.uk 172.16.10.198
On the DSN server in the big www
A @ 81.174.154.157
A www 81.174.154.157
and Apache needs this to point to directory
<VirtualHost *:80>
ServerName example.co.uk
ServerAlias www.example.co.uk
DocumentRoot /var/www/html/example
</VirtualHost>