Using our Shell Accounts, you can host your website (or any other static resources) in ~/public_html/
.
This is ideal for hosting a static site or built with a static site generator such as hugo or zola.
It is also useful for hosting files on the internet. (nothing dodgy please)
Log into Hopper and visit https://<username>.sites.uwcs.co.uk
, you should see the default site, if you are facing errors, this maybe a permissions issue, run the sites
command and follow the prompts to set file permissions and test.
public_html
is your webroot, placing files e.g. ~/public_html/test.txt
will be accessible at https://<username>.sites.uwcs.co.uk/test.txt
It is possible to set up your own custom domain name to point at files served on our website. We require that you add a DNS record to point at our IP address, and also provide us with an SSL certificate for your domain.
Get in contact with us at @sysadmins
on Discord to set this up.
Contact us to edit Caddy's Nix Config.
NOTE: If you are using Cloudflare, please DISABLE the Cloudflare proxy (i.e. click the orange cloud next to the record to make it grey) during setup. This can be enabled after it's all working and the SSL ceriticate has been issued.
(Static site on Hopper)
137.205.37.213
HAProxy->Virtual Services->Public Sevices
in OPNSensehopper_backend
in the public_subdomains
map file under HAProxy->Advanced->Mapfiles
in OPNSense(Dynamic site on *.containers.uwcs.co.uk)
<name>.containers.uwcs.co.uk
container_backend
in the map file in Milner -> Services -> HAProxy -> Settings -> Advanced -> PUBLIC_SUBDOMAINS_mapfoo.com -> bar.containers.uwcs.co.uk
rather than foo.containers.uwcs.co.uk
), ask a Tech Officer to create the relevant rules on HAProxy (see WSAF for an example)Please ask a Tech Officer to:
Consider using a Container or get in contact for other options.
Contact us on Discord at @sysadmins
For a more formal response techteam@uwcs.co.uk
can be used.
we don't bite