title: How configure ng serve in google vm to run with custom domain?
body: <p>My vm running ubuntu 16.04 iso.
  I modify /etc/hosts line:</p>
  
  <p>127.0.0.1 localhost</p>
  
  <p>to</p>
  
  <p>127.0.0.1 mycustomdomain.com</p>
  
  <p>and execute</p>
  
  <p>ng serve --host mycustomdomain.com --port 8080 --environment prod</p>