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:53] – added blurb about "http access logs" to maybe show up better in search peteyboybuilding_a_website_on_sdf [2021/07/01 19:55] – [Diagnose] added error file peteyboy
Line 64: Line 64:
 ===== Diagnose ===== ===== Diagnose =====
  
-One way to try to figure out what is going wrong when you HTTP requests are made to your site is too 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.
  
 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:
Line 74: Line 74:
   $ 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: +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)
building_a_website_on_sdf.txt · Last modified: 2024/01/04 08:20 by peteyboy