Sitename.com working, www.sitename.com gives Error 1014

hauntedus.com working, www.hauntedus.com gives Error 1014

How can I fix this?

Are both of these hostname records pointing to the same location? Are they A records or CNAME records?

A Record is pointed at my server’s IP, CNAME is at WPEngine’s required hostname
wp.wpenginepowered.com

I tried to point CNAME to the IP as well, but it said it was invalid

Looks to me you need to contact the WPEngine. Check this out: