PHP-Code:
<?
echo $_SERVER['SERVER_ADDR'];
?>
Sollte funktionieren.