Difference between revisions of "Cloud Hosting/Logs"

From XMission Wiki
Jump to: navigation, search
(Created page with "=Logs and Directories= Some helpful directories you may need to know include your log files and your home directories. Your log files are found under /var/www/vhosts/<yoursi...")
 
(Logs and Directories)
Line 10: Line 10:
 
Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/  
 
Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/  
 
  root@webserv:/var/www/vhosts/xmission.com# ls -la
 
  root@webserv:/var/www/vhosts/xmission.com# ls -la
total 16
 
 
  drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs '''<-------'''
 
  drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs '''<-------'''
 
  drwxr-xr-x 2 root    root    4096 Nov 10 06:47 logs
 
  drwxr-xr-x 2 root    root    4096 Nov 10 06:47 logs

Revision as of 16:57, 10 November 2016

Logs and Directories

Some helpful directories you may need to know include your log files and your home directories.

Your log files are found under /var/www/vhosts/<yoursitename>/logs/

root@webserv:~# cat /var/www/vhosts/xmission.com/logs/
access.log       access.log.2.gz  access.log.4.gz  error.log.1   error.log.2.gz                                                       
access.log.1 access.log.3.gz  access.log.5.gz  error.log        error.log.2.gz

Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/

root@webserv:/var/www/vhosts/xmission.com# ls -la
drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs <-------
drwxr-xr-x 2 root     root     4096 Nov 10 06:47 logs