Dynamic domain name with PHP

$_SERVER['SERVER_NAME']