Jump to content

Webspace: Difference between revisions

36 bytes removed ,  7 June 2017
no edit summary
No edit summary
 
Line 3: Line 3:
== Location ==
== Location ==


Redbrick sites for each user are located at http://www.redbrick.dcu.ie/~username.
Redbrick sites for each user are located at http://username.redbrick.dcu.ie
(where username is your RedBrick username)
(where username is your RedBrick username)


Line 15: Line 15:


In PuTTY permissions can be set with the "chmod" command
In PuTTY permissions can be set with the "chmod" command
chmod 711 public_html
  chmod 644 public_html/index.html
  chmod 644 public_html/index.html


Line 24: Line 23:
There are many programs that will make HTML pages for you - both Microsoft Word and Open Office Writer will allow you to save documents as HTML pages you can upload to RedBrick. There are also specialist programs for making webpages such as Macromedia Dreamweaver. Alternatively you could write your own HTML code (the EditPlus installed on CA lab computers is good for this, and [http://www.w3schools.com/html/ this tutorial] will help you get started).
There are many programs that will make HTML pages for you - both Microsoft Word and Open Office Writer will allow you to save documents as HTML pages you can upload to RedBrick. There are also specialist programs for making webpages such as Macromedia Dreamweaver. Alternatively you could write your own HTML code (the EditPlus installed on CA lab computers is good for this, and [http://www.w3schools.com/html/ this tutorial] will help you get started).


Once you're happy with the page(s) you've made you can upload them to your public_html folder with [[Transferring Files|winscp]]. Don't forget that the permissions for all your files need to be set to 644 and all folders 711 (including the public_html folder)
Once you're happy with the page(s) you've made you can upload them to your public_html folder with [[Transferring Files|winscp]]. Don't forget that the permissions for all your files need to be set to 644 and all folders 755 (including the public_html folder)


When people go to your website (http://www.redbrick.dcu.ie/~username) the first file they'll see is the index.html, so make sure to call the main page of your website index.html
When people go to your website (http://www.redbrick.dcu.ie/~username) the first file they'll see is the index.html, so make sure to call the main page of your website index.html
Line 68: Line 67:
== Links ==
== Links ==


[http://www.redbrick.dcu.ie/services/downloads/winscp360.exe WinSCP] - you can download WinSCP from this link.
[https://winscp.net/download/WinSCP-5.9.5-Setup.exe WinSCP] - you can download WinSCP from this link.


[http://www.tizag.com tizag.com] - how to use html, css, php etc.
[http://www.tizag.com tizag.com] - how to use html, css, php etc.


[http://www.w3schools.com w3schools.com] - more online web tutorials.
[https://developer.mozilla.org/en-US/ MDN] - more online web tutorials.


[[Category:Helpdesk]]
[[Category:Helpdesk]]