• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Cannot change apache port on PLESK 11.5.30

Androz

New Pleskian
Hello,

I am trying to setup varnish 3 with plesk 11.5.30

I have not installed nginx component and followed this knowledgebase article

http://kb.parallels.com/en/114249

I have change the following in Apache conf. I am on Debian Wheezy so

/etc/apache2/ports.conf
LISTEN 8080
NameVirtualHost *:8080

/etc/sites-enabled/000-default
<VirtualHost *:8080>

and i can see that the auto-generated domain conf apache files have applied the port changes.
netstat shows:
Code:
tcp6       0      0 :::8080                 :::*                    LISTEN      3806/apache2    
tcp6       0      0 :::443                  :::*                    LISTEN      3806/apache2

When i navigate to www.domain.com:8080 i see the Apache default page(It works!),

Thanks in advance for any help.

PS: I have not yet install varnish, just want to setup the apache first. This happens on a new domain setup, and if i reverse the changes all come back to normal.
 
Thanks for quick reply,

I have already changed that and tried a diffrent port(8080 -> 3456).

Here is my output from grep after changing all occurences of $VAR->server->webserver->httpPort

Code:
/usr/local/psa/admin/conf/templates/custom/default # grep -rwn . -e 3456
./nginxDomainVhost.php:34:        'backendPort' => 3456,
./domain/frameForwarding.php:1:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./domain/domainVirtualHost.php:11:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive && $OPT['ipAddress']->isIpV6()) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./domain/standardForwarding.php:1:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./server/nameVirtualHost.php:5:        : 3456) . "\n" ?>
./server/nameVirtualHost.php:12:        : 3456) . "\n" ?>
./server/mailman.php:12:        <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./server/mailman.php:17:        <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./server/mailman.php:19:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./server/vhosts.php:7:        <?php echo $ipAddress->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> \
./server/vhosts.php:9:        <?php echo $ipAddress->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> \
./server/vhosts.php:11:        <?php if ($VAR->server->webserver->proxyActive) echo '127.0.0.1:' . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) ?> \
./horde.php:24:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./horde.php:29:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./horde.php:31:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginxDomainForwarding.php:16:                'backendPort' => 3456,
./atmail.php:18:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./atmail.php:23:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./atmail.php:25:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginxWebmail.php:20:        'backendPort' => 3456,
./roundcube.php:22:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./roundcube.php:27:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./roundcube.php:29:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginx.php:9:        proxy_pass http://<?php echo $ipAddress->proxyEscapedAddress . ':' . 3456 ?>;

I run /usr/local/psa/admin/sbin/httpdmng --reconfigure-all and still i am getting "!It works" as output.

Do you have any other suggestions?Maybe a change somewhere else?.

Thanks
 
Back
Top