WordPress Showing IP Address Instead of Domain

I had the same issue and in my situation it was a problem with the firewall on the vhost. Otherwise, try to replace the htaccess…

But i have still the issue, that the ip address is still set in the admin backend, for ex. when i hover over the “next page arrow” on the create pages admin site

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