[Koha-devel] New User Trying to Run Koha as Localhost

Mark Alexander marka at pobox.com
Wed Feb 20 19:26:21 CET 2019


Excerpts from Steven Hill's message of 2019-02-20 08:08:50 +0000:
> The next step "Access the web interface" did not work.
> At this point I get the standard 'Apache2 Ubuntu Default Page' telling me that Apache is working but the site may be down for maintenance etc.

There are several things you might want to check.

Look at /etc/apache2/sites-available/INSTANCE.conf, where INSTANCE is your
Koha instance name.  In particular, check the port numbers in the VirtualHost lines.

Make sure that those ports are listed in separate Listen statements in /etc/apache2/ports.conf .

Then check the port number in /etc/apache2/sites-available/000-default.conf, by examining
the VirtualHost line.  It will probably be port 80, and if that is the same as
one of the ports used by Koha, you'll either need to change the ports used by Koha,
or disable 000-default.conf by using the a2dissite command.

Make sure that the Koha site is enabled by using the a2ensite command.

You'll need to restart Apache after making any configuration changes.
This is probably done using 'systemctl restart apache2'.

(I hope this helps, but I'm not an Apache expert, and all of my
experience is on Debian 8/9, so I may have missed something specific
or relevant to Apache or Ubuntu in the above.)


More information about the Koha-devel mailing list