RSS Points to Local Host


Hi there,

I run Jekyll on my Mac using the ‘bundle exec jekyll serve’ which builds the site fine. However, for some reason, the atom.xml file seems to build an XML feed that points to my local host address.

Can anyone help me?

I’m running Jekyll 3.4.3

Kind Regards


is this the default theme? I’d look at the atom.xml source and see how it is building the url. Maybe you need to set it somewhere like in the config?


Hi rdyar,

Yes, it’s just the plain default theme of Poole.


When you run a Jekyll server locally it defaults to the development environment which automatically sets url: http://localhost:4000

If you do bundle exec jekyll build it won’t add the localhost url. You can also force Jekyll to run in production mode.

JEKYLL_ENV=production bundle exec jekyll serve


Thanks, mmistakes.

I’m forcing production mode and it’s fine now.

Kind Regards