This is an old revision of the document!
Table of Contents
Web Hosting
There are four web-hosting options offered at CIM. Depending on your needs, you may use any number of the following services:
Direct Web hosting
To host a personal web page, there is a hidden “.public_html” folder in your home directory. Anything placed in this directory will be publicly accessible at https://cim.mcgill.ca/~CIMUSERNAME.
The CIM server will look for the following files as the index file for your site (in order)
- index.php
- index.html
- welcome.html
- Welcome.html
- Home.html
- home.html
The CIM server will honor “.htaccess” files within your “.public_html” directory
Automatic redirection
There are multiple ways to automatically redirect visitors from your CIM page to another site. A simple way to do so is by placing the following content in a file called “index.html” in your “.public_html” directory.
<html> <head> <meta http-equiv = "refresh" content = "0; url = https://mcgill.ca"/> </head> <body> You should be redirected shortly </body> </html>
Distributed Authoring and Versioning (DAV)
For those requiring DAV access, create a sub-folder called “dav” in the “.public_html” folder and the content of that folder will be accessible with your CIM credentials.
Wordpress
The CIM server has a fully-managed multi-site wordpress instance which allows us to create wordpress sites as required. Wordpress sites are available for a variety of uses:
- Individual use: if you would prefer a wordpress site instead of doing your own personal site in html
- Group use: wordpress sites can be created for lab groups or for specific projects and multiple users can be granted access
- Special use: If you need a site for an event or any special case
Dokuwiki System
Custom solutions
If you have any specific web hosting needs, contact us at support@cim.mcgill.ca and we can discuss custom solutions to suit your needs.