What Markus said, there is a vhost example block at the end of the install guide somewhere.

 

Either you can create a name-based virtual host and access both sites on the same ip/port but with different hostnames, or you can do port-based vhosts where you access the two sites on different ports. The former is usually better.

 

I’d recommend getting used to how this works on a test system first. On Ubuntu specifically you’re making vhosts as <hostname>.conf in /etc/apache2/sites-available/ and then using a2ensite to enable them. (or symlinking them to /etc/apache2/sites-enabled/

 

Your apache will already be set up to allow name-based virtual hosts if you create the files. I’m not sure entirely how to direct things correctly for freeradius, but I’m sure it’s documented somewhere.

 

https://docs.observium.org/install_debian/#apache-virtual-host

 

Adam.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Markus Klock via observium
Sent: 15 April 2020 19:10
To: Observium <observium@observium.org>
Cc: Markus Klock <markus@best-practice.se>
Subject: Re: [Observium] Default port for web-access

 

Hi, what you want is to configure a apache vhost.

You can then have both DNS records (like freeradius.company.com and observium.company.com) point to the same IP. Then you configure apache to use a vhost for observium.company.com with its own config that only applies when user visit apache via that domain. 

/Markus 

 

Den ons 15 apr. 2020 18:10James Ngo via observium <observium@observium.org> skrev:

Hello everyone,

I am totally new to Observium and has found the app is very useful. I installed Observium using the automated method, first on a VirtualBox to test out the features. So far everything has worked for me (yay…)

I am planning to install the app on the actual production server, running Ubuntu 18.04 server, latest updates and all

However, on the production server, we have already Freeradius which use mysql and phpMyAdmin to maintain the database. These are using the default port 80

I tried to find where I can change the default port at the installation but I could not find anything.

If I change the default port in the /etc/apache2/ports.conf (and subsequent in the virtualhost), would that change my Freeradius server default port as well?

 

My second question, is there a command line that I can use to reset the admin username/password? If we forget the admin password, how could we get back to the program?

 

So if anyone here has run both engine on the same server, please shred a light on this for me?

 

Thank you all you guys, and sorry if this question is a nob!

James

 

Image removed by sender.

Virus-free. www.avg.com

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium