Web site hosting at ISG D-PHYS
A web share works like a regular group share but the data is hosted directly on the web server (for performance reasons) and is meant to make the files of your website easily accessible. It is not suitable for storing large amounts of data (more than a few GB) like on regular group shares.
Requesting a new web site
To request a new website, please contact us and provide the following information:
- desired web share name:
- desired domain name:
- web share members (administrators): a list of D-PHYS usernames
- web share owner (may edit members): a list of D-PHYS usernames
- website access restrictions: public or a list of D-PHYS groups
Optional website specifics:
- CMS installation: Wordpress, Drupal, TWiki, Mediawiki, etc?
- SQL database (MariaDB): Yes/No?
- dynamic content: provide CGI file extensions (
- Python 3 WSGI web app: provide required modules
To check if your desired domain name is still available, you can use any managed Linux workstation:
Access the files and directory structure
A web share can be accessed like a regular group share and is prefixed with
See also How to access your files.
It has the following directory structure:
wwwshare ├── public ├── private ├── logs │ ├── archive │ ├── goaccess │ ├── http_access.log │ ├── http_error.log │ ├── https_access.log │ ├── https_error.log ├── stats │ ├── archive │ └── current ├── fcgid │ └── fcgid-wrapper-generic └── tmp
This structure is managed my ISG. Users do not have write permission in the main web share home directory, but in the sub-directories
The sub-directories contain the following types of files:
public: files that should be visible on the web (previously
private: files that should not be visible, like PHP DB config files etc 
logs: the log files of your web site
stats: the website statistics files
fcgid: only present if you use CGI (Python, PHP, etc)
tmp: for temporary files, unpacking zips etc; may be regularly deleted
 note that .htpasswd files do not work in
private/, but are protected differently
Access website statistics
All websites contain a statistics URL (
/website-statistics), that are updated on a daily basis. The stats are generated using goaccess and may only be accessed by web share administrators (all members of the respective
The stats may be accessed as follows:
- via web: https://yourdomain.phys.ethz.ch/website-statistics/
- via file:
current holds the daily website statistics,
archive holds old archived statistics.
Access log files
The log files can be used for debugging purposes, example usage on linux:
ssh <username>@login.phys.ethz.ch tail -f /home/wwwshare/logs/*.log | ccze
We provide separate log files for HTTP and HTTPS requests. Users should normally only care about the
https_* log files, as all website requests are automatically redirected to HTTPS.
archive may contain old archived log files from recent migrations,
goaccess holds temporary data for website statistics generation.
Access the database
Some websites are connected to an SQL database, which can be accessed via web-interface.
Select the Server
sqlweb and connect using the credentials that were provided to you.
For connections from your dynamic website code, use
sqlweb.phys.ethz.ch as the database hostname.
Dynamic content using CGI
It is implemented using
mod_suexec via an ISG managed FCGID wrapper script. This means that code is executed as the
wwwshare user and only files within the web share may be accessed from CGI scripts.
Python 3 web applications