Page 1 of 1

Web page content update

PostPosted: Mon Jul 21, 2014 11:34 am
by cwyoo
Michael, could you document how to update the content of our website?

Re: Web page content update

PostPosted: Mon Jul 21, 2014 4:51 pm
by M Charles
Before discussing the actual web page, I would like to mention that the web content is being served by nginx. If an admin wants to change the web server (block certain pages, add password restrictions, etc.), the corresponding configuration files need to be changed at /etc/nginx.

Now, I have been using the default /usr/share/nginx/html as the root (i.e. essentially corresponds to http://131.94.9.17/). The content seen when first accessing the page is from the index.html and can be edited with root permissions. It is written in HTML5 syntax.

If you want to add another webpage, you can just add into the /usr/share/nginx/html directory (e.g. create a file foo.html, or place a symlink to another directory).

On a separate topic, do we have a hostname we can use rather than the raw IP address (it may be easier when the IP address changes)?