问题 I'm looking to setup wildcard virtual hosts in Ubuntu. I've set it up on a WAMP setup pretty easily, but I don't know enough about Linux to know how the setup differs. The goal is to be able to create folders like: site.weblocal site2.weblocal site3.weblocal etc..... without having to add individual vhosts each time. Someone has recommended dnsmasq? Any tips would be greatly appreciated :) 回答1: for Ubuntu it goes as simple as sudo apt-get install dnsmasq sudo echo "address=/weblocal/127.0.0.1