pvapickupservice.com (and cslpickupservice.com) are house on a Linode Server. The schedule. subdomains run off of Rails. We have to do some basic maintenance tasks here from time to time. Details below.
Connect to Server
Processes from Rebooting / Shutting down the server and accessing console window (if you have to reboot Apache) can be accomplished from the Linode account. Login details are in the Overview in the Thrift World project in Asana. (username: americanclothing).
Root password can also be found in asana.
SFTP Access
The file below has an XML file for the settings that can be used with FileZilla. Use the root credentials in Asana as the username/password. This access will allow you to easily modify the sites and the files.
Structure
The root directory for each site is as follows:
- pvapickupservice.com - /var/www/pvapickupservice.com
- schedule.pvapickupservice.com - /var/rails/pva/current
- cslpickupservice.com - /var/www/cslpickupservice.com
- schedule.cslpickupservice.com - /var/rails/csl/current
If you make changes to either of the two schedule rails environments, you'll have to restart apache in the linode console.
``` service apache2 restart ``` SSL
Installing SSL's is a little different for these four domains.
- Firstly, just renew the ones we are already using. Don't buy new ones.
- Download the Apache versions
- Connect through SFTP and upload all files in the zip to the following directories (move the old files to a bak directory as a just-in-case)
- pvapickupservice.com - /etc/ssl/certs/pvapickupservice.com
- schedule.pvapickupservice.com - /etc/ssl/certs/schedule.pvapickupservice.com
- cslpickupservice.com - /etc/ssl/certs/cslpickupservice.com
- schedule.cslpickupservice.com - /etc/ssl/certs/schedule.cslpickupservice.com
- Alter the conf files for each site in /etc/apache2/sites-available
- Just change the cert filename for the file with the hex value (Ex 2d768731d8a042be.crt).
- Save and upload
- Restart apache in the Linode console
- Test the sites (all 4) and make sure the SSL's have updated
SSL Renewal Help|https://www.linode.com/community/questions/18857/how-do-i-createrenew-an-ssl-certificate