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
building_a_website_on_sdf [2024/11/01 17:03] – update mkhomepg -h output to match actual peteyboybuilding_a_website_on_sdf [2025/03/24 20:39] (current) – simplify link to static site generator page and the wikipedia link peteyboy
Line 37: Line 37:
 ==== More Pages ==== ==== More Pages ====
  
-Okay, now that you have your first web page up, here are some [[resources_for_website_builders |Resources for Developing Your Website]]+Okay, now that you have your first web page up, there are several ways you can proceed 
 +  * If you want to get your hands dirty with HTML markup, CSS, CGI and Javascript so you understand how the web works, here are some [[resources_for_website_builders |Resources for Developing Your Website]] 
 +  * If, however, your goal is to start getting content shared out to the web, there are many website tools you can use that you can set up in your web space that will take care of making it easy for you to start creating content without worrying about so much technical detail.  
 +    * There are several [[web content management | Content Management Systems (CMS) and wikis]] that you can install in your web space as an SDF user--most need ARPA membership--so you can hit the ground running with a decent looking site right away. 
 +    * There are several [[static site generators]] ([[wp>static site generator|SSG]]) installed at SDF, which will allow you to set up a website however you like (with a little learning of how the SSG works) and provide you with tools to update it.
  
 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> 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>
Line 60: Line 64:
   * **Standard Site:** By default, your web site files go in your user folder on the cluster in the ''html'' subfolder. These files are then viewable  at //<your login>.freeshell.org//, or what other domain you set as a custom url with mkhomepg or from the ''maint'' command   * **Standard Site:** By default, your web site files go in your user folder on the cluster in the ''html'' subfolder. These files are then viewable  at //<your login>.freeshell.org//, or what other domain you set as a custom url with mkhomepg or from the ''maint'' command
   * **'Tilde' Site:** You may, if you first run ''mkhomepg -d'' also (or instead) place files in your ''public_html'' folder, and they will be accessible at your old school "tilde site" at //sdf.org/~<your login>//   * **'Tilde' Site:** You may, if you first run ''mkhomepg -d'' also (or instead) place files in your ''public_html'' folder, and they will be accessible at your old school "tilde site" at //sdf.org/~<your login>//
-  * **Virtual Host:** If you have a [[vhost]], you should place files for it in your //<nowiki>/html/vhost_name</nowiki>// folder, and they will appear from your properly configured VHOSTif you have signed up for this [[membership_levels |membership]]+  * **Virtual Host:** If you have a [[vhost]], **the way this is managed at SDF has changed** see [[Accessing Your VHOST Folders]] if you have signed up for this [[membership_levels |membership]]
   * **[[metaarray |The MetaArray]]:** If you want to host from the unlimited storage of the MetaArray, after you use ''mkhomepg -t'' to toggle your main web page from the cluster to the MetaArray, you should put your files on the metaarray at //~/html/<username>//, and as with the cluster, these will be accessible at //<your login>.freeshell.org//, or what other domain you set as a custom url with mkhomepg or from the ''maint'' command   * **[[metaarray |The MetaArray]]:** If you want to host from the unlimited storage of the MetaArray, after you use ''mkhomepg -t'' to toggle your main web page from the cluster to the MetaArray, you should put your files on the metaarray at //~/html/<username>//, and as with the cluster, these will be accessible at //<your login>.freeshell.org//, or what other domain you set as a custom url with mkhomepg or from the ''maint'' command
  
Line 87: Line 91:
 === Finding Your Logs for VHOSTs === === 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:  +See [[accessing_your_vhost_folders|Accessing your VHOST Folders]] 
-  $ ssh peteyboy@irulecomputers.com +
-  … (login stuff) +
-  $ less /var/log/nginx/irulecomputers.com +
-  +
 ==== Web Server Details ==== ==== Web Server Details ====
  
building_a_website_on_sdf.1730480585.txt.gz · Last modified: 2024/11/01 17:03 by peteyboy