simple http server redirect index.html code example Example: http-server redirect to index live-server --port=8080 --entry-file=./index.html