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 Domains with Let's Encrypt TGates 27 97 ,142 06-08-2024, 05:06 PM
Last Post: andykimpe
Secure Sentora With SSLForFree Chris L 1 5 ,322 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 48 ,677 01-14-2020, 07:32 AM
Last Post: Vedran B

Forum Jump:


Users browsing this thread: 1 Guest(s)