fixing up urls, hosts and wsgi