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
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
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 - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
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
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
Is Sentora dead? rajeevrrs 2 3 ,979 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,594 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,348 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)