British Go Association
Published on British Go Association (http://www.britgo.org)

Home > Content > 2. Hosting

2. Hosting

2.1 Hosting

This web site is hosted by Bytemark [1], on their normal commercial terms. The site started in 1998, but was revamped in spring 2008 to operate using Drupal.

We have a complete virtual server running Debian Linux "Lenny". The web server is Apache with many pages in PHP5. Databases are in MySQL. Some support software is in Perl other software In Python.

2.2 User accounts and Permissions

A limited number of people have full user access to our server. Each of these have a separate account, with all having the same group (users), to allow updating of the required directories, i.e. essentially those for our website.

All registered users have access to group "users". Common files are owned by this group, with directories set to 02775 permission to propagate the group ownership to files and directories contained therein. The standard umask is 002, permitting group write.

Some of these accounts allow admin access to the server.

For security reasons users are expected to connect to the server using SSH.

Users are encouraged to generate and install a SSH key to avoid password access (this is actually more secure as it identifies the user uniquely). See "ssh-keygen" and "ssh-copy-id" if running Linux or UNIX-style systems.

2.3 FTP accounts and permissions

This facility was used when hosting was provided by Pair. There are no such requirements currently.

Authorised users are expected to move to SFTP in due course if needed.

2.4 Configuration Details

2.4.1 Linux

Implementation is standard as provided by Bytemark.

To set up additional domains and/or subdomains, edit the files in /root/BytemarkDNS/data following the comments therein and run the script /root/BytemarkDNS/upload.

2.4.2 Apache

The configuration file for each server is in /etc/apache2/sites-available. When editing is complete, the file should be symbolically linked into /etc/apache2/sites-enabled and the server restarted.

There are a number of Drupal-based websites set up in /var/www:

  • bgasite

    www.britgo.org, www.britgo.org.uk, www.baduk.org.uk

  • bgasite_old

    old.britgo.org - our old website (as of November 2010, Drupal 5)

  • bgasite_testing

    test.britgo.org - testing version for CiviCRM

In addition the following website directories also exist in /var/www:

  • challenge

    ukgochallenge.org website

  • onlineleague

    league.britgo.org

2.5 General Maintenance activities

2.5.1 Backup

Backup currently uses Backup2l to copy system configuration, web and database files to a separate Bytemark server.

To recover data, the server can be NFS-mounted and the data retrieved.

2.6 Email

Email addresses for other than the archived mailing lists are all specified as aliases in the file /etc/aliases.

The 3 archived mailing lists, "gotalk", "bga-policy" and "youth-go" are managed using "mailman". For more details, see the index [2].


Source URL: http://www.britgo.org/node/2755

Links:
[1] http://www.bytemark.co.uk
[2] http://lists.britgo.org/listinfo