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:
#2
RE: Use sentora panel with specific port for all domains (Like cPanel, da e.g)
Issent the httpd-vhosts.conf file being (re)created by Sentora, so all edits will be lost?
●●●●●●●
My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons
●●●●●●●


Reply
Thanks given by:
#3
RE: Use sentora panel with specific port for all domains (Like cPanel, da e.g)
(07-30-2015, 02:31 PM)Ron-e Wrote: Issent the httpd-vhosts.conf file being (re)created by Sentora, so all edits will be lost?

I believe it will not be replaced by default.
I've changed my port to 443 (SSL) and it is working.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Secure Sentora With SSLForFree Chris L 0 304 04-22-2019, 10:23 AM
Last Post: Chris L
Timeout for Sentora Admin Panel minufreelance 12 11,226 11-24-2018, 12:33 PM
Last Post: fearworks
ADD SSL TO WINDOWS SENTORA khir 1 658 11-15-2018, 11:21 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)