Redirect domain and subdomain to rewrited rule depending on $_SERVER[‘REMOTE_ADDR’]

Redirect domain and subdomain to rewrited rule depending on $_SERVER[‘REMOTE_ADDR’]

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