How to replace blog page url with subdomain at all places, even in xml sitemap?

If the blog can actually be accessed at http://blog.website.com, you’ll need to edit your siteURL and home settings on the Options screen within WordPress. This will set your blog’s default home to be http://blog.website.com instead of http://website.com/blog.

There are more specific instructions in the Codex

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