====== 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|Direct Web hosting]] - [[#Wordpress|Wordpress]] - [[#Dokuwiki_System|Dokuwiki System]] - [[#Custom_solutions|Custom solutions]] ===== 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. You should be redirected shortly ==== 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 If you are in need of a wordpress site, contact [[support@cim.mcgill.ca]] to discuss the possibilities ==== Differences from a normal wordpress site ==== Being a multi-site installation, there are a few differences between a normal wordpress site and a CIM-hosted site. The most impactful one being the inability to install plugins on a per-site basis. As the system is centrally managed and updated, plugin and template installation need to be done by CIM administrators. If you need any specific plugin, let us know and we'll take care of the installation. ===== Dokuwiki System ===== Similarly to the wordpress system, CIM also hosts wiki-style pages (ie, the site you are currently on). If you or your group would like a wiki to manage information, contact us and we will be glad to set it up for you. ===== 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.