Hello,
First thank you on sentora system panel.
Now I will show you how to use & configure sentora panel on port from all domains
Example:
panel.domain.com
domain.com:2352
clientdomain.com:2352
You can choose the port number you want to use.
ok, let start:
In first vhost you will see the panel.domain.com config.
It should look like this:
[/code]
So we will edit line <VirtualHost *:80> to <VirtualHost *:port>
For example <VirtualHost *:2352>
Restart apache! (service httpd restart / service apache restart / service httpd restart).
Enjoy!
First thank you on sentora system panel.
Now I will show you how to use & configure sentora panel on port from all domains
Example:
panel.domain.com
domain.com:2352
clientdomain.com:2352
You can choose the port number you want to use.
ok, let start:
- Edit httpd-vhost.file (/etc/sentora/configs/apache/httpd-vhosts.conf).
- Add listen after exist listen. (Listen 2352 or any number you want!).
- change sentora vhost port (2352 or any number you want!).
In first vhost you will see the panel.domain.com config.
It should look like this:
Code:
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin name@domain.com
DocumentRoot "/etc/sentora/panel/"
ServerName panel.domain.com
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
# Custom settings are loaded below this line (if any exist)
So we will edit line <VirtualHost *:80> to <VirtualHost *:port>
For example <VirtualHost *:2352>
Restart apache! (service httpd restart / service apache restart / service httpd restart).
Enjoy!