Create a Container instance request for the Ubuntu 20.04 image
website
, mysite
)Wait for the request to be accepted/denied
Visit the instances list
Add a vhost via + VHost
For the host section, enter in a subdomain you wish to use:
<username>.netsoc.cloud
ocanty.netsoc.cloud
Use Port 80 with internal HTTPS turned off
Hit Confirm
Visit the domain to ensure everything is working correctly
Visit the instances list
Add a vhost via + VHost
Follow the instructions on what DNS records you need to set
On your domain registrar (i.e where you bought your domain from) you will need to set records
Enter your domain into the form
Use Port 80 with internal HTTPS turned off
Hit Confirm
Visit the domain to ensure everything is working correctly
root
username and password received in the emailapt update && apt install nginx
systemctl enable nginx
systemctl start nginx
Visit the instances list
Click Filesystem on your instance and follow the instructions to open up a file browser
You can now upload files as you wish
You will need to mark any files you upload as accessible to the web server, the best way of doing this is:
chown www-data:www-data -R /var/www/html
/var/www/html
to be owned by the nginx webserver
Any HTML/static content files you place in /var/www/html
will now be served when you visit the domains you configured above.
/var/www/html
, it will be available when you visit the domaindomain/image.png
, i.e ocanty.netsoc.cloud/image.png