app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php
protected function _getNormalizeHostTarget() {
        $configHost = trim(Mage::getStoreConfig(
            'turpentine_vcl/normalization/host_target' ));
        if ($configHost) {
            return $configHost;
        } else {
            $baseUrl = parse_url(Mage::getBaseUrl());
            if (isset($baseUrl['port'])) {
                return sprintf('%s:%d', $baseUrl['host'], $baseUrl['port']);
            } else {
                return $baseUrl['host'];
            }
        }
    }
protected function _getNormalizeHostTarget() {
        $configHost = trim(Mage::getStoreConfig(
            'turpentine_vcl/normalization/host_target' ));
        if ($configHost) {
            return $configHost;
        } else {
            $baseUrl = parse_url(Mage::getBaseUrl());
            if (isset($baseUrl['port'])) {
                return sprintf('%s:%d', $baseUrl['host'], $baseUrl['port']);
            } else {
                return $baseUrl['host'];
            }
        }
    }
protected function _getNormalizeHostTarget ( ) { $ configHost = trim ( Mage :: getStoreConfig ( 'turpentine_vcl/normalization/host_target' ) ) ; if ( $ configHost ) { return $ configHost ; } else { $ baseUrl = parse_url ( Mage :: getBaseUrl ( ) ) ; if ( isset ( $ baseUrl [ 'port' ] ) ) { return sprintf ( '%s:%d' , $ baseUrl [ 'host' ] , $ baseUrl [ 'port' ] ) ; } else { return $ baseUrl [ 'host' ] ; } } }
Get the hostname for host normalization from Magento's base URL

@return string
Get the hostname for host normalization from Magento s base URL