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


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

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


<VirtualHost _default_:2443>
SSLEngine on

Then do the same thing in:

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]


ProxyPass /webmail
ProxyPassReverse /webmail
ProxyPass /horde
ProxyPassReverse /horde
ProxyPass /squirrelmail
ProxyPassReverse /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

Why my Firewall goes down every 5 minutes?

Ensure that Debug Mode is Disabled When debug mode is enabled, all firewall rules are...

InterWorx Firewall Guide

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

InterWorx Command-Line Interface Guide

1 CLI Quick Overview The InterWorx Control Panel offers a command-line utility allowing...

InterWorx Server Administrator SSH Guide

1.1 History Historically, before the implementation of SSH (Secure Shell), computers on the...

How to Import Interworx Hosting Accounts?

Import a Single Account Import Through NodeWorx If you prefer to use the web interface, follow...