Our client wants 2 subdomains creating:
I did this on the DNS server pointing them to the IP where the website was hosted.
I then SSH into the Linux Ubuntu 12.04 box and navigate using:
cd /var/www/ and used
sudo mkdir mobile and the same for 5thbirthday.
I need to create a binding in apache2 server but how can i do this?
In the GUI version of Linux I edited the 'sites enabled' file and added the physical location, default document and server IP. But how do i edit a file in SSH?
I tried the command (within the mobile folder to practice)
touch test.txt and then
edit test.txt I am able to edit the file but how do i save it?
I then need to give a user FTP access to the /var/www folder, currently they only have permissions to a random folder called, 'our-website' which contains nothing and is obviously redundant.
Hope you can help