Differences between revisions 7 and 8
Revision 7 as of 2022-09-05 21:06:46
Size: 989
Editor: GaryODonovan
Comment:
Revision 8 as of 2024-01-02 15:08:10
Size: 1603
Editor: ConorBennett
Comment: Article clean-up, added more tips and links
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Say your username was {{{username}}}. Then your website would appear at the following places:
  * {{{http://username.ucc.asn.au}}} (Hosted from [[Mussel]])
  * {{{http://www.ucc.asn.au/~username}}} (Hosted from [[Mussel]])
== How It Works ==
Line 7: Line 5:
To put stuff in your website, put files in {{{/home/ucc/username/public-html/}}} User websites can be configured by placing files in the {{{public-html/}}} folder of their home directory (usually {{{/home/ucc/username/}}}). These files are then served by an Apache 2 webserver running on [[Mussel]] to the locations:
  * {{{http://username.ucc.asn.au}}}
  * {{{http://www.ucc.asn.au/~username}}}
Line 9: Line 9:
An easy way to upload stuff is to use [[http://winscp.net/eng/index.php|WinSCP]] or [[https://filezilla-project.org/|FileZilla]] or [[sftp]] or [[sshfs]] or ... there are lots of ways. You can also use [[SSH]] and a text editor such as [[https://www.vim.org|vim]] or [[nano]] to edit your files directly. More detail about the configuration can be found [[Systems/Web#Web Serving|here]].
Line 11: Line 11:
You can run [[CGI]] scripts. == Tips ==
Line 13: Line 13:
If you register a domain name, we can point it at your website; email {{{wheel@}}}. Easy ways to upload site files include using [[http://winscp.net/eng/index.php|WinSCP]], [[https://filezilla-project.org/|FileZilla]], [[https://wiki.archlinux.org/title/SCP_and_SFTP|sftp]], [[https://wiki.archlinux.org/title/SSHFS|sshfs]] or a myriad of other ways. You can also use [[SSH]] and a terminal text editor such as [[https://www.vim.org|vim]] or [[https://www.nano-editor.org/|nano]] to edit your files directly. The [[HowToUCC/Program]] page contains more useful tips about performing development work on UCC servers.
Line 15: Line 15:
Examples of amazing websites:
  * [[http://zanchey.ucc.asn.au/qdb]]
  * [[http://tpg.ucc.asn.au/]]
  * [[http://sulix.ucc.asn.au/]]
  * An incomplete list: [[http://www.ucc.asn.au/member/mempages.ucc]]
If you register a domain name, we can point it at your website; get in contact with a [[WheelGroup|Wheel]] member. Conversely, if you have your own website and want your UCC site to redirect to this instead, you can configure this yourself by placing a [[https://httpd.apache.org/docs/2.4/howto/htaccess.html|.htaccess]] file with a {{{Redirect}}} directive in your {{{public-html/}}} folder. The {{{.htaccess}}} file allows you to control other aspects of Apache configuration for your site as well, such as [[https://httpd.apache.org/docs/2.4/howto/cgi.html|running CGI scripts]].

All UCC members get personal web space.

How It Works

User websites can be configured by placing files in the public-html/ folder of their home directory (usually /home/ucc/username/). These files are then served by an Apache 2 webserver running on Mussel to the locations:

  • http://username.ucc.asn.au

  • http://www.ucc.asn.au/~username

More detail about the configuration can be found here.

Tips

Easy ways to upload site files include using WinSCP, FileZilla, sftp, sshfs or a myriad of other ways. You can also use SSH and a terminal text editor such as vim or nano to edit your files directly. The HowToUCC/Program page contains more useful tips about performing development work on UCC servers.

If you register a domain name, we can point it at your website; get in contact with a Wheel member. Conversely, if you have your own website and want your UCC site to redirect to this instead, you can configure this yourself by placing a .htaccess file with a Redirect directive in your public-html/ folder. The .htaccess file allows you to control other aspects of Apache configuration for your site as well, such as running CGI scripts.