# Cloud Web Servers
### Apache
**Install and Configure Apache**
> https://ubuntu.com/tutorials/install-and-configure-apache
**VirtualHost Examples**
> https://httpd.apache.org/docs/2.4/vhosts/examples.html
#### Apache2 Ubuntu Default Page
You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.
Document Roots
By default, Ubuntu does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf.
The default Ubuntu document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.
> -rw-r--r-- 1 ubuntu ubuntu 7 Feb 8 01:00 foobar.txt
> -rw-r--r-- 1 root root 10918 Feb 1 05:53 index.html
>> .
*envvars - default environment variables for apache2ctl*
> sudo nano /etc/apache2/envvars
<br>
### CI/CD - GitLAB
**Self Hosted Gitlab Continuous Deployment to Netlify**
> https://dev.to/sidhantpanda/self-hosted-gitlab-continuous-deployment-to-netlify-49lk
**Your Private CI/CD using self-hosted GitLab and Docker**
> https://oramind.com/private-cicd-using-gitlab-docker/
**Get started with GitLab CI/CD**
> https://docs.gitlab.com/ee/ci/quick_start/
**GitLab Pages**
>> https://docs.gitlab.com/ee/user/project/pages/index.html
<br>
### WordPress
**Install and configure WordPress**
> https://ubuntu.com/tutorials/install-and-configure-wordpress#2-install-wordpress
**Install Wordpress on an instance**
> https://docs.ovh.com/gb/en/public-cloud/install_wordpress_on_an_instance/
**How To Install WordPress with LAMP on Ubuntu 18.04**
> https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-18-04
<br>
### SSH
**Use secure copy with ssh key authentication**
> https://www.techrepublic.com/article/how-to-use-secure-copy-with-ssh-key-authentication/
**Setting up an SSH Client**
> https://gitlab.unimelb.edu.au/resplat-cloud/uom-cloud-docs/-/blob/master/docs/guides/ssh_client.md
<br>
### Move files
**File transfer**
> https://gitlab.unimelb.edu.au/resplat-cloud/uom-cloud-docs/-/blob/master/docs/guides/file_transfer.md
<br>
### Setup Apache2 Userdir Module on Ubuntu
https://websiteforstudents.com/enable-userdir-apache2-nginx-ubuntu-17-04-17-10/
<br>
<br>