Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 357 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 357 Bytes

create-vhost-at-ubuntu-nginx

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/hosts and add string #localhost to the end (one-time step).
  • Run script under root user: sudo -s;sh create_host_nginx.sh <your-domain-name.local>;