Try ERPNext Buy Support Partners Foundation

Confusion about domains local dev install

I have a local developement install of erpnext on a Linux centos7 server
I created a website “website.local” with the erpnext app
everything works and when I do bench start to start the application it says to open
http//:0.0.0.0:8000 - this works!
as does:
localhost:8000
127.0.0.1:8000

however when I type website.local:8000 it does NOT work - this is a problem only when erpnext emails me event reminders and other system emails the links are website.local:8000/whatever…!

I know this is a simple issue but do I need to change something within bench OR the hosts file on my server?

Added this line to my /etc/hosts:
127.0.0.1 website.local

Everything working…