Actually, the “Webserver Home page” drop-down box lists
Apache Default
Freedombox service (Plinth)
Cockpit
…and then some of the apps you have installed. For instance, if you have a mail server and Roundcube, you also get “My Email Aliases” and “Roundcube” as options.
If this dropdown box were made into an editable GUI table, it would fix my problem, and expose some of the functionality I mentioned earlier. Like this:
Or allow by hostname or IP address. More columns could be added for more functionality (suggestions?).
This would also communicate more clearly what the setting is, especially if the URLs in the second column were links. Some users currently overlook the “Webserver Home page” setting (it took me a search to find it):
Problem Description
I’m trying to set up a static website on my Freedombox not by going the user-based way , but by leveraging a custom Apache config file with a domain name (let’s call it custom.com ) that’s not the one used for Plinth (let’s call it main.com )
I also got a SSL certificate via Let’s Encrypt, so I’m all good here.
Details
Here’s my config at /etc/apache2/sites-available/01-custom.com (I used 01 as a prefix to prioritize it over the freedombox config files).
<IfModule mod_ssl.c>…
I’m setting up my domain for access to the Apache server on my FreedomBox. The issue I’m having is that when I go to “https://mydomain.xyz ” it redirects to “https://mydomain.xyz/plinth ”.
The mydomain.xyz.conf has “Use FreedomBoxTLSSiteMacro mydomain.xyz” which sets “DocumentRoot /var/www/html”. Therefore, I would assume that “https://mydomain.xyz ” would display the “index.html” page, but as stated it brings up Plinth. (Going to “https://mydomain.xyz/index.html ” does display “index.html”.)
W…
I think I found a workaround to rewrite the redirected page.
Here’s how the apache configuration for my site turned out. I’m not sure if it’s elegant, but it did work. Any comments to better it would be more than welcome.
<VirtualHost *:80>
ServerName mysite.com
Redirect / https://mysite.com
</VirtualHost>
<VirtualHost *:443>
ServerName mysite.com
DocumentRoot /var/www/mysite.com/public_html
<Directory /var/www/mysite.com/public_html>
<IfModule mod_rewrite.c>
…
Problem Description
I am trying to host a second static website with a different domain.
Steps to Reproduce
Managed to get LetsEncrypt Certificate for a second domain.
Created a virtual host under apache with necessary second domain directory and configuration as described here
Restarted apache2
Cant access my new static website
Expected Results
I expect to be able to host and access multiple domains.
Actual results
I get a “site unavailabe” message in my browser.
Information
Freedo…
I’m thinking of trying out Freedom Box but I have some questions first.
Reading on here I’ve just learned of pagekite.net , how secure and private is it? Is it better than opening ports on my router or creating a DMZ? What other ways are there to expose services to the WAN?
When you fist start Freedom Box, are any of the services already enabled? Will I have to turn anything off to make it more secure?