SyntaxFix
Write A Post
Hire A Developer
Questions
You could also use...
$hostname = getenv('HTTP_HOST');