cant access website thru www only works on direct xyz.com

if anyone got stuck with this same issue, it turned out for me that i need to add a type A record with Name www and Value server ip address on the DNS configuration
thanks @rudtek for pointing it out!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)