Every time I serve a Jekyll site from the command line it is served on port 4000. Two sites can\'t be served on the same port.
Is it possible to serve multiple Jekyll si
_config.yml
file, specify a port other than 4000
like this, for example:
port: 4001
--port 4001
to your jekyll serve
command, like this, for example:
bundle exec jekyll serve --livereload --port 4001
From: https://jekyllrb.com/docs/configuration/options/#serve-command-options