How to change the port InterWorx Control Panel runs on?

it should only be done in extreme cases such as if you are behind a firewall and do not have access to opening the correct port. Make sure to find a port that you know is open and not being used by something else to minimize conflicts.

To change the port InterWorx runs on, two files must be edited VERY CAREFULLY:

Open the file

/home/interworx/etc/httpd/httpd-custom.conf

In this file, change all instances of 2443 to the port you wish to use:

##
# Ports that InterWorx-CP uses
##
<IfDefine SSL>
Listen 2443
</IfDefine>

and

<VirtualHost _default_:2443>
SSLEngine on
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

Then do the same thing in:

/etc/httpd/conf.d/iworx.conf
RewriteEngine on
RewriteRule ^/siteworx(/)?$ https://%{HTTP_HOST}:**2443**/siteworx/?domain=%{HTTP_HOST} [R,L]
RewriteRule ^/nodeworx(/)?$ https://%{HTTP_HOST}:**2443**/nodeworx/ [R,L]
#RewriteRule ^/webmail(/)?$ https://%{HTTP_HOST}:**2443**/webmail [R,L]

and

ProxyPass /webmail http://127.0.0.1:2080/webmail
ProxyPassReverse /webmail http://127.0.0.1:2080/webmail
ProxyPass /horde http://127.0.0.1:2080/horde
ProxyPassReverse /horde http://127.0.0.1:2080/horde
ProxyPass /squirrelmail http://127.0.0.1:2080/squirrelmail
ProxyPassReverse /squirrelmail http://127.0.0.1:2080/squirrelmail

Save the files and restart the iworx and httpd services:

service iworx restart
service httpd restart
If you have a firewall installed on your server, remember to open up the port that you are now running InterWorx on or you will not be able to access your box.

Was this answer helpful?

 Print this Article

Also Read

InterWorx Server Administrator FTP Guide

1.1 What is FTP? FTP, or File Transfer Protocol, is a standard network protocol used to...

InterWorx Firewall Guide

1.1 Introduction: 1.1.1 What is a firewall? A firewall is a device that analyzes...

Installation of InterWorx

Installation is fairly straight forward and this is just a brief overview of the install process,...

How to Setup an SSL Chain Certificate?

A chain certificate is a digital certificate that provides a bridge of trust between a...

InterWorx Cluster Installation Requirements

It is important to note that the Cluster Panel is essentially the InterWorx Control Panel in...