get website parent domain; tweak nginx config