fix bug domain naming and php setup