Good day! How can I change the domain name of a koha instance? I have a Koha 12.0 installed using debian repository.
glernil evangelista schreef op di 18-06-2013 om 09:39 [+0800]:
Good day!
How can I change the domain name of a koha instance? I have a Koha 12.0 installed using debian repository.
It's pretty straightforward. Get the DNS set up like you'd expect, and then modify /etc/apache2/sites-enabled/libraryname. I'd suggest adding a ServerAlias line below the ServerName one with the new domain, and it'll work for both. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Probably also you want to check your intranet and opac baseurl preferences within Koha, otherwise things like "view this in the OPAC" links won't work. Cheers, Liz Rea On 18/06/13 13:46, Robin Sheat wrote:
glernil evangelista schreef op di 18-06-2013 om 09:39 [+0800]:
Good day!
How can I change the domain name of a koha instance? I have a Koha 12.0 installed using debian repository.
It's pretty straightforward. Get the DNS set up like you'd expect, and then modify /etc/apache2/sites-enabled/libraryname. I'd suggest adding a ServerAlias line below the ServerName one with the new domain, and it'll work for both.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRv7yXAAoJELbCpJ03Jji3dF4H/AheOWfz7y+WUCvc9uj82apx DExIb74JezFBAo8jsxP5E8JSa0GKYkoBJhvAupkfcalhk/un2ItIGwVEA+PXXzTj MxyaaBPjxRqeKryPtZu8X2I7ocHR8FF7CHsRDWkeodsZ3yDTFqhkqL2uRFBIbv6P RLe4SG1H9iaegyTyQfQtM/QSVag8x8BjAvduM8Yhtr969riLSPaljce/nunXjOUC +mmTTkq4UCuvdsAJ2iAAbkXziqRzXBWqv9kRDvxT/zJjw74B9ci36/fQtHkWBuUt mVKXd3YvRGBMSE9Io2PpiX3HMQa7tRIs6ztJE5Jwm02TosX1toAda2c9XRZ2/co= =a7d/ -----END PGP SIGNATURE-----
Great advice from Robin Sheat 2: "modify /etc/apache2/sites-enabled/libraryname. I'd suggest adding a ServerAlias line below the ServerName one with the new domain" ...and note, there's a second ServerName line in that file for the admin login URL further down in the file. You will want to change that as well! -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
participants (4)
-
glernil evangelista -
Liz Rea -
pfinley -
Robin Sheat