I have my site on the server http://www.myserver.uk.com.
http://www.myserver.uk.com
On this server I have two domains:
one.com and two.com
I would l
Try using this: $_SERVER['SERVER_NAME']
$_SERVER['SERVER_NAME']
Or parse
$_SERVER['REQUEST_URI']
apache_request_headers()