Download the file index.html
from the
navigation area. Use fileZilla to transfer it to your server account;
to start, place it in your home directory..
<!doctype HTML> <html lang="en"> <head> <title>A Very Simple Website</title> <meta charset="utf-8"/> </head> <body> <h2>The Web Page of <em>your name</em></h2> </body> </html>
This is a little exercise in dealing with the file system and with file permissions.
The Products The server will display a (locally) visible
web page at the URL http://cs.ncssm.edu/~yourUserName
.
To get this to work right, you need to have this file tree in your account.
------------- (home directory) | ~ | permissions: u: rwx g: x o: x ------------- | --------------- (directory) | public_html | permissions: u: rwx g: rx o: rx --------------- | --------------- (regular file) | index.html | permissions: u: rw g: r o: r ---------------
Write down the commands you executed to get this working. Place them
in a file named simpleSite.sh
.