Skip to content

Instantly share code, notes, and snippets.

@wimarbueno
Forked from luismayta/conf_virtualhost
Last active August 29, 2015 14:08
Show Gist options
  • Save wimarbueno/e07fbfd55246a2c62802 to your computer and use it in GitHub Desktop.
Save wimarbueno/e07fbfd55246a2c62802 to your computer and use it in GitHub Desktop.
#sudo gedit /etc/hosts
;agregar el nombre de la url
127.0.0.1 local.tcn.ec.pe
#cd /etc/apache2/sites-available/
; crear un archivo con el nombre local.tcn.ec.pe
; agregar el contenido con https://gist.github.com/luismayta/4674310
; cambiar las rutas por defecto
#sudo a2ensite local.tcn.ec.pe
#sudo /etc/init.d/apache2 restart
# agregar la url al proxy con dconf-editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment