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/03/23 16:59] – added info on mkhomepg -p, can't believe it wasn't there already peteyboybuilding_a_website_on_sdf [2021/06/25 22:54] – fix typo peteyboy
Line 36: Line 36:
  
 ===== More Pages ===== ===== More Pages =====
-Whenever you add pages or subdirectories to your web site, the easiest way to make sure it will all continue to work is to **remember, after you are done with your changes**, to run the command <code>+Okay, now that you have your first web page up, here are some [[resources_for_website_builders|Resources for Developing Your Website]] 
 + 
 +An important thing: your website files need to be set to particular user permissions in order to be viewable by the world. When you add pages or subdirectories to your web site, the easiest way to make sure it will all continue to work is to **remember, after you are done with your changes**, to run the command <code>
  mkhomepg -p  mkhomepg -p
 </code> </code>
Line 62: Line 64:
 ===== Diagnose ===== ===== Diagnose =====
  
-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:+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:
  
   $ grep abc123.sdf.org /var/log/httpd/*.log   $ grep abc123.sdf.org /var/log/httpd/*.log
  
-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 your 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: 
 +  $ ssh peteyboy@irulecomputers.com
 +  ... (login stuff)
 +  $ less /var/log/nginx/irulecomputers.com
 +
  
 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