I use this: server { server_name _; server_name_in_redirect off; fastcgi_param SERVER_NAME $server_name; } but when I inspect $_SERVER["SERVER_NAME"] I get this "_", but I would like to get the domain name, so I change to this: fastcgi_param SERVER_NAME $host; But, is this the right thing to do? Marcos Neves +55 44 9918-8488