Shell script helps quickly create Ubuntu Nginx host for any PHP based web project on your local machine.
- Don't use symbol "_" for local domain name.
- Open file
/etc/hostsand add string#localhostto the end (one-time step). - Run script under
rootuser:sudo -s;sh create_host_nginx.sh <your-domain-name.local>;