Run localhost with premium domain
1) Correr en la consola
sudo nano /etc/hosts
2) Ponemos password

3) Poner la siguiente línea de code:
127.0.0.1 mnbkitchen.gograb.io
## 127.0.0.1 mnbkitchen.gograb.io
## 127.0.0.1 thewagyubar.gograb.io
127.0.0.1 thewagyubar.gograb.io
127.0.0.1 meatnbone.gograb.io
## 127.0.0.1 meatnbone.gograb.io
4) Guardar usando (control O) y enter
5) Cerrar (control X)
6) Correr como en ambiente local:
ng serve --host meatnbone.gograb.io
7) Ingresar en el browser de la siguiente manera: http://meatnbone.gograb.io:4200/
En caso de tener problemas, intentar lo siguiente:
--disable-host-check
ng serve --host meatnbone.gograb.io --disable-host-check
ng serve --host mnbkitchen.gograb.io --disable-host-check
ng serve --host thewagyubar.gograb.io --disable-host-check
Es importante repetir el proceso y dejar comentado (#) - de la siguiente manera el localhost, si no lo hacemos no podemos correr de manera normal el dominio premium.
Para ponerlo:
127.0.0.1 meatnbone.gograb.io
Para quitarlo:
## 127.0.0.1 meatnbone.gograb.io
Last updated
Was this helpful?