[Koha] Domain for Koha Server (URL SET UP)
Evil-A
fjavilas at gmail.com
Sat May 16 11:10:41 NZST 2020
Hello,
I will probably ask something really easy to fix, but I am totally new to
this, so...
I installed and configure Koha Version 19.11, also I made a little
customization on my OPAC.
I am able to see my Koha through both Intranet and Internet (only with an
IP)
In the intranet I use 11.11.11.11:80 (OPAC) and 11.11.11.11:8080 (Admin)
On internet I use 111.111.111.11:80 (OPAC) and 111.111.111.11:8080 (Admin)
No issues until here.
I also have a domain active... mydomain.abc.de
But I've been trying different ways to set up the URL so everybody can see
my sites but unsuccessful.
My /etc/hosts looks like:
127.0.0.1 localhost
127.0.1.1 library
111.111.111.11 library.mydomain.abc.de
111.111.111.11 library-admin.mydomain.abc.de
Then my /etc/koha/koha-sites/.conf is:
DOMAIN=".mydomain.abc.de" ---- here I also tried with the real IP
(111.111.111.11)
INTRAPORT="8080"
INTRAPREFIX="lybrary"
INTRASUFFIX="-admin"
OPACPORT="80"
OPACPREFIX="library"
INTRASUFFIX=""
Not working at this point...
So I was reading some posts here end they suggest to edit the
/etc/koha/koha-sites.conf
I added a ServerAlias like this:
# OPAC
<VirtualHost *:80>
ServerName librarylocalhost
ServerAlias library.mydomain.abc.de
# Intranet
<VirtualHost *:8080>
ServerName library-adminlocalhost
ServerAlias library-admin.mydomain.abc.de
then I tried
# OPAC
<VirtualHost *:80>
ServerName library
# Intranet
<VirtualHost *:8080>
ServerName library-admin
And
# OPAC
<VirtualHost *:80>
ServerName library
ServerAlias library.mydomain.abc.de
# Intranet
<VirtualHost *:8080>
ServerName library-admin
ServerAlias library-admin.mydomain.abc.de
But still not working
I read another post that suggest to make some modifications on
koha-httpd.conf but couldn´t find that file, other post suggest to edit
file /etc/apache2/sites-enabled/koha.conf but that file don't even exist on
my server.
I´ve been trying with all of these configurations but until now I am no able
to reach my sites with an url.
Does anybody have an idea on what I am doing wrong...
Thanks
--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
More information about the Koha
mailing list