added host to config
updated headers/redirects