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.

openfire ubuntu and sentora
#1
[Not Solved] openfire ubuntu and sentora
I understand that you guys don't support this in the least but I have been trying to figure this out for the better part of my day so I figured it would be worth a shot.

Im running Sentora on ubuntu everything is running just fine. I wanted to add a jabber server as well....I chose to use openfire. It works when i use the IP and port for it but I would like to use a domain for openfire server. But I cant seem to figure what I need to change to get the domain pointed at the same IP as sentora to work with openfire. If anyone has some experience with this any help at all would be much appreciated. If not I will keep crawling the internet.
Reply
Thanks given by:
#2
[Not Solved] RE: openfire ubuntu and sentora
I would think you could use the custom vhost entry and make a new virtualhost that points to where you need it (say in the ZPanel custom vhosts section) something like:
Code:
</virtualhost>

# Add vhost for openfire
<VirtualHost *:80>
ServerName openfiredomain.com
DocumentRoot /location/of/openfire
<Directory  /location/of/openfire
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
DirectoryIndex index.php
    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_admin_value upload_tmp_dir c:/zpanel/temp
    </IfModule>
</Directory>
This way you bypass being locked to /hostdata/username/public_html/ location Wink
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#3
[Not Solved] RE: openfire ubuntu and sentora
Alternatively you could add an additional include statement at the bottom of the apache2.conf pointing to a second manually maintained vhost config file...

For example on CentOS (paths / filenames will differ for Ubuntu):

Look at the bottom of /etc/httpd/conf/httpd.conf for

Include /etc/zpanel/configs/apache/httpd.conf

and add

Include /etc/httpd/conf/custom.conf

In custom.conf add your new manual vhost Smile

Best to keep additional software configs separate from the hosting panel if possible...
Reply
Thanks given by:
#4
[Not Solved] RE: openfire ubuntu and sentora
Ok sorry its been a few days since I posted....Seems I was unable resolve this issue. With a little more research there are a lot of people that install openfire using vhost multi domain setups. They all seem to run into this issue.

First I didn't know that it required a SRV DNS entry. So i added the required entries still wasn't working. So I tried with a different domain but still pointed to the same IP still a no go. So out of frustration and just wanting to make it work I created a quick droplet on Digital ocean. all I install was a basic LAMP setup and and then install openfire and all the required DNS entries. It worked so Im going to use this solution for the time being
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
PLZ Help me install ssl in my own VPS Centos7 Sentora panel younessesoft 1 193 05-26-2020, 07:34 PM
Last Post: 5050
unsuccessful in running sentora in a container sujith0602 2 268 05-23-2020, 10:24 PM
Last Post: sujith0602
Sentora Stability aroiz 5 1 584 04-23-2020, 07:52 AM
Last Post: Jettaman

Forum Jump:


Users browsing this thread: 1 Guest(s)