Jekyll serve: strange server addresses

I am trying to preview changes to the jekyll page before pushing onto Github.
However when I use jekyll serve I get the following:

scchow@scchow-linux:~/Desktop/Link to GitHub/blog$ jekyll serve
Configuration file: <path>/GitHub/blog/_config.yml
Configuration file: <path>/GitHub/blog/_config.yml
            Source: <path>/GitHub/blog
       Destination: <path>/GitHub/blog/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.289 seconds.
 Auto-regeneration: enabled for '<path>/GitHub/blog'
Configuration file: <path>/GitHub/blog/_config.yml
    Server address: http://127.0.0.1:4000blog/
  Server running... press ctrl-c to stop.

where <path> is just the path to the Github repository, just removed for brevity.

http://127.0.0.1:4000blog/ does not seem like a valid address and I cannot open it on Chrome since it keeps trying to search instead.

If it helps, the repo I am working in is here: https://github.com/scchow/blog and I have mainly been fiddling with the minima theme.

Thanks for your help.

You’ve configured the baseurl improperly.

baseurl: "blog" # the subpath of your site, e.g. /blog

Change it to baseurl: "/blog"

1 Like

Your solution worked. Thanks for the quick reply.