luceos Do I need to change the hostname within my Apache2 config or Flarum? How do I make Flarum listening to the IP and not a domain? Thanks a lot for the answers!
My config file has:
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
so it's allowing url rewrites.
Just checked my htaccess file and its:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule api(.)$ api.php [QSA,L]
RewriteRule admin(.)$ admin.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)$ index.php [QSA,L]
</IfModule>