> server { > > listen 80; > server_name domain2.com; > rewrite ^/(.*) http://www.domain2.com/$1 permanent; > > } > > > server { > > listen 80; > server_name domain2.com; - server_name domain2.com; + server_name www.domain2.com; Best regards, Piotr Sikora < piotr.sikora at frickle.com >