Blog

Add a new blog
May 13

Use /etc/hosts to direct wildcard domain name

You need to set up a DNS server. (install dnsmasq (is light) or bind (is rather heavy)). To install... Ubuntu OS: sudo apt-get install dnsmasq In /etc/NetworkManager/dnsmasq.d/dnsmasq-localhost.conf and address=/localhost.com/127.0.0.1 restart sudo /etc/init.d/dnsmasq restart with Mac OS: Install dnsmasq brew update # Always update Homebrew and the formulae first brew install dnsmasq sudo brew services start dnsmasq sudo brew services start dnsmasq Configure dnsmasq Its default configuration file is located at /usr/local/etc/dnsmasq.conf and contains examples of...

Send us a message. We will reply as soon as we can.