Web page content update

Web page content update

Postby cwyoo » Mon Jul 21, 2014 11:34 am

Michael, could you document how to update the content of our website?
cwyoo
Site Admin
 
Posts: 379
Joined: Sun Jun 22, 2014 2:38 pm

Re: Web page content update

Postby M Charles » Mon Jul 21, 2014 4:51 pm

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)?
M Charles
 
Posts: 23
Joined: Sun Jun 22, 2014 5:00 pm


Return to Web page

Who is online

Users browsing this forum: No registered users and 1 guest