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//: - this works!
as does:

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: website.local

Everything working…