need to redirect non www to www Wordpress site

January 5, 2018 2.2k views

I am new to digital ocean today i moved my wordpress site from godaddy to digital ocean, I added www version domain address in digital ocean.. If i try to open non www version of the domain it gives “This site can’t be reached” error… May i know how to fix this