[Koha] It's a name-based install, and you are trying to use an ip address. (was What's up with that?)

Mark Tompsett mtompset at hotmail.com
Sun Dec 22 16:26:22 NZDT 2013


Greeetings,

> This takes place anytime I use the browser with: http://ipaddress: 80.

The instructions are for a NAME based install, you can't use the IP address. 
You need to set up a DNS to point to it, OR you intentionally set the hosts 
file for the machine you are trying to use to access the server. The latter 
being the wrong way to do it. The former being the normal, nice way to do it 
in a networked environment.

Since you insist on using IP ADDRESS, rather than NAME (same instructions, 
but change the one koha-sites.conf part to this):
------------------
/etc/koha/koha-sites.conf

DOMAIN=".myDNSname.org"  # Change this to be your domain.
INTRAPORT="8080"  # TCP listening port for the administration interface
INTRAPREFIX=""
INTRASUFFIX=""
DEFAULTSQL=""
OPACPORT="80"  # TCP listening port for the users' interface
OPACPREFIX=""
OPACSUFFIX=""
ZEBRA_MARC_FORMAT="marc21"  # Possible values are 'marc21', 'normarc' and 
'unimarc'
ZEBRA_LANGUAGE="en"  # Possible values are 'en', 'fr' and 'nb'
------------------

This means that the OPAC client with be:
http://ipaddress:80/
The staff client will be:
http://ipaddress:8080/

And if you do get around to having a proper NAME using DNS:
http://library.myDNSname.org:80 will be the OPAC
http://library.myDNSname.org:8080 will be the Staff client

GPML,
Mark Tompsett 



More information about the Koha mailing list