User Tools

Site Tools


building_a_website_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
building_a_website_on_sdf [2021/06/25 22:54] – fix typo peteyboybuilding_a_website_on_sdf [2022/02/08 19:06] – [Diagnose] fix typo, added subheadings peteyboy
Line 65: Line 65:
  
 One way to try to figure out what is going wrong when you HTTP requests are made to your site is to look at http access logs. One way to try to figure out what is going wrong when you HTTP requests are made to your site is to look at http access logs.
 +
 +==== Finding Your Logs on the Main Cluster ====
  
 If your site is hosted on sdf.org (you are an ARPA member) then you can grep inside the httpd log file in ///var/log// directory. For example: If your site is hosted on sdf.org (you are an ARPA member) then you can grep inside the httpd log file in ///var/log// directory. For example:
  
   $ grep abc123.sdf.org /var/log/httpd/*.log   $ grep abc123.sdf.org /var/log/httpd/*.log
 +  
 +==== Finding Your Logs on the Metaarray ====
  
-If your site is hosted on ma.sdf.org (you are a MetaARPA member) then your can look inside the log file for your web site in ///meta/log//. For example:+If your site is hosted on ma.sdf.org (you are a MetaARPA member) then you can look inside the log file for your web site in ///meta/log//. For example:
  
   $ less /meta/log/abc123.sdf.org   $ less /meta/log/abc123.sdf.org
  
-If your site is VHOSTed, then you can access your site's own log file by ssh-ing to the ''norge'' server using your {LOGNAME}@{VHOSTDOMAIN} with your normal LOGNAME password, then your log file is ///var/log/nginx/{VHOSTDOMAIN}//. ex: +==== Finding Your Logs for VHOSTs ==== 
 +If your site is VHOSTed, then you can access your site's own log file by ssh-ing to the ''norge'' server using your {LOGNAME}@{VHOSTDOMAIN} with your normal LOGNAME password, then your log files are ///var/log/nginx/{VHOSTDOMAIN}// and ///var/log/nginx/{VHOSTDOMAIN}.err//. ex: 
   $ ssh peteyboy@irulecomputers.com   $ ssh peteyboy@irulecomputers.com
   ... (login stuff)   ... (login stuff)
   $ less /var/log/nginx/irulecomputers.com   $ less /var/log/nginx/irulecomputers.com
  
 +==== More Help ====
 For additional help, check the information in the FAQ page [[https://sdf.org/?faq?WEB?05|"What About the Access Logs, Statistics, and Quotas?"]] For additional help, check the information in the FAQ page [[https://sdf.org/?faq?WEB?05|"What About the Access Logs, Statistics, and Quotas?"]]
  
building_a_website_on_sdf.txt · Last modified: 2024/01/04 08:20 by peteyboy