This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Use sentora panel with specific port for all domains (Like cPanel, da e.g)
#1
Use sentora panel with specific port for all domains (Like cPanel, da e.g)
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:
  1. Edit httpd-vhost.file (/etc/sentora/configs/apache/httpd-vhosts.conf).
  2. Add listen after exist listen. (Listen 2352 or any number you want!).
  3. 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)
[/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! Big Grin
Reply
Thanks given by:


Messages In This Thread
Use sentora panel with specific port for all domains (Like cPanel, da e.g) - by LocalHost - 07-30-2015, 09:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora With SSLForFree Chris L 1 4 ,659 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 44 ,731 01-14-2020, 07:32 AM
Last Post: Vedran B
Timeout for Sentora Admin Panel minufreelance 12 45 ,222 11-24-2018, 12:33 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)