Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorials:building_a_website [2011/05/11 18:59] – [[[Problems]]] jlehmustutorials:building_a_website [2011/10/04 18:07] – Fix some formatting issues. memnon
Line 3: Line 3:
 ===== Contents ===== ===== Contents =====
  
-  * [[#intro|Introduction]] +  * [[#Introduction]] 
-    * [[#getting_started|Getting Started]] +    * [[#Getting Started]] 
-  * [[#firstpage|Your First Page!]] +  * [[#Your First Page!]] 
-  * [[#problems|Problems]]+  * [[#Problems]]
  
 \\ \\
Line 18: Line 18:
 ==== Getting Started ==== ==== Getting Started ====
  
-  * "mkhomepg" - This command needs to be executed before you can start building your web pages. When you execute this program, it will create a directory in which you can put all your web files. This directory is sym-linked into your home directory, under the name 'html'. (A sym-link is sort of like a shortcut in Microsoft Windows.)You will be prompted to select a URL for your website. This URL is what other internet users type into their web browser to view your web pages. If you're not an ARPA member then you may only use url's in the form of '"&lt;your login&gt;.freeshell.org"'. For instance, my web pages are stored at '"alterego.freeshell.org"'. If you're an ARPA member, there are many different domains you may use.+  * "mkhomepg" - This command needs to be executed before you can start building your web pages. When you execute this program, it will create a directory in which you can put all your web files. This directory is sym-linked into your home directory, under the name 'html'. (A sym-link is sort of like a shortcut in Microsoft Windows.)You will be prompted to select a URL for your website. This URL is what other internet users type into their web browser to view your web pages. If you're not an ARPA member then you may only use url's in the form of '"<your login>.freeshell.org"'. For instance, my web pages are stored at '"alterego.freeshell.org"'. If you're an ARPA member, there are many different domains you may use.
  
 ===== Your First Page! ===== ===== Your First Page! =====
Line 33: Line 33:
     </body></html>     </body></html>
          
-Now that you have copied the text out into 'nano', you need to save the file. To do this, hold down the 'CTRL' key on your keyboard and whilst pressing that, press the letter 'o'.Right, now, do you remember that URL you selected when you ran '"mkhomepg"'? Open a web browser and type that into the address bar. Hopefully, after a few seconds. You should see your very own web page!+Now that you have copied the text out into 'nano', you need to save the file. To do this, hold down the 'CTRL' key on your keyboard and whilst pressing that, press the letter 'o'. Right, now, do you remember that URL you selected when you ran '"mkhomepg"'? Open a web browser and type that into the address bar. Hopefully, after a few seconds. You should see your very own web page!
  
 ===== Problems ===== ===== Problems =====
Line 39: Line 39:
 The most important thing you need to have is **patience**. Sometimes updates when running "mkhomepg" may take a few hours to complete, sometimes they will occur almost immediately. By using the higher functions of your brain and **patience** you will solve a lot of the problems you may meet! The most important thing you need to have is **patience**. Sometimes updates when running "mkhomepg" may take a few hours to complete, sometimes they will occur almost immediately. By using the higher functions of your brain and **patience** you will solve a lot of the problems you may meet!
 \\ \\
-In case a page is not found on your site, the client may be forwarded to a page of sdf.lonestar.org or redmartian, which can be confusing (but which is in fact completely reasonable, as all the domains belong to one entity). If you want to prevent this also for broken links, you have to set up error handler documents. Please consult the faq:WEB:7 item for this!+In case a page is not found on your site, the client may be forwarded to a page of sdf.lonestar.org or redmartian, which can be confusing (but which is in fact completely reasonable, as all the domains belong to one entity). If you want to prevent this also for broken links, you have to set up error handler documents. Please consult the [[faq:WEB07|FAQ]] item for this!