DEV Community

Discussion on: How to Heroku

Collapse
 
rnrnshn profile image
Olimpio

Can I run a Wordpress site on heroku?

Collapse
 
tsykoduk profile image
Greg Nokes

Yes, you can. It's not a great experience because Wordpress is not 12-factor (ie, does not follow 12factor.net). I would look hard at wordpress.com for Wordpress hosting. However there are other good options for blogs on Heroku - for example Jekyll (as I outline here: dev.to/tsykoduk/nginx-as-a-static-...) is the option that personally use.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

I think you can. See help.heroku.com/58GWW5CQ/can-i-use... (As a thought, similar to Dockers, database in container is a problem, as Heroku filesystem is ephemeral.)

Why not wordpress.com/ ?

Collapse
 
tsykoduk profile image
Greg Nokes

Databases normally should not run in the same instance/container as your code. Decoupling your backend servers from your front end code allows for much easier scaling, more maintainability and easier development environments. See 12factor.net ;D

Thread Thread
 
patarapolw profile image
Pacharapol Withayasakpunt

Many free self-hosted Docker-based commenting systems does not follow 12-factor, and I am forced to use Disqus...