Can I have the same wordpress site under different url?

Typically this is a really bad idea ( Google hates duplicate content).
If you need to do this you can edit your servers host file, but in reality unless you have a specific reason you should be using a 301 re-direct.

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