• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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