Skip to content

Instantly share code, notes, and snippets.

@gzagatti
Last active March 17, 2016 19:30
Show Gist options
  • Save gzagatti/f7abcf21d5a4622b5f9c to your computer and use it in GitHub Desktop.
Save gzagatti/f7abcf21d5a4622b5f9c to your computer and use it in GitHub Desktop.
Apache VHosts and Dnsmasq set up

Local Development with Apache VHosts and Dnsmasq

  1. setting up apache
    • when setting up the VHosts, it's necessary to comment out the example config otherwise we get warnings that a given folder was not found
  2. setting up Dnsmasq

Apache tools

  • apachectl start / apachectl stop / apachectl restart: turn on/off apache server
  • apachectl configtest: test apache configuration

Folder Ownership

Options

  • cleaner configuration with a virtual host folder to host different Apache configs, see

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment