DEV Community

Discussion on: Complete Guide To Hosting Wordpress On Heroku With SSL Certification

 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Anyways Heroku freeTier dyno will shut down after an idle. So not sure if I will use it for something serious.

Thread Thread
 
aryaziai profile image
aryaziai

Just set up a cron job that pings your site every 30 minutes medium.com/better-programming/keep...

Thread Thread
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Now, I made it with free everything.

  • Free Heroku
  • Free MongoDB Atlas
  • Free Cloudflare
  • Free subdomain (I already owned the domain name and used it elsewhere)

I think I currently don't need to keep it awake, or cron job; but I will consider it.

BTW, for your WordPress, it seems to be possible to build pages in advance, to static page; and host it on Netlify, where it is always awake anyway.

The search bar inside WordPress would probably be dead, without Heroku or some kind of serverless function, though.

Thread Thread
 
aryaziai profile image
aryaziai

Awesome! Glad to hear this. Will it work with a dynamic site as well? I've been using cron-job.org (for free) and haven't had any issues