90 likes | 179 Views
HTML (Set Up Public Folder). Some material on these slides is taken directly from http://www.w3schools.com. Uniform Resource Locator (URL). tilde (~)jsx33 indicates jsx33's personal directory on the pubpages server. http://pubpages.unh.edu /~jsx33/index.html.
E N D
HTML (Set Up Public Folder) Some material on these slides is taken directly from http://www.w3schools.com
Uniform Resource Locator (URL) tilde(~)jsx33 indicates jsx33's personal directory on the pubpagesserver • http://pubpages.unh.edu/~jsx33/index.html Index.html is the filename and extension Hypertext Transport Protocol (http), the message format computers use to exchange information on the internet This is the server name. It will be converted to an IP address by the Domain Name Server (DNS)
Question • What would the URL look like if we had the folder named “New” and a file called find.html on jsx33’s pubpage. • http://pubpages.unh.edu/~jsx33/New/find.html • Note: case sensitive
DNS Default for http: Port 80 Index.html What is the IP address for Google.com 216.239.39.99 GET request: Can you send me the page index.html? Here is the index.html page Server Client Browser then reads & formats html then displays formatted html Connecting to a website
Setting up your public folder • mkdir $HOME/public_html • chmod 711 $HOME • chmod 755 $HOME/public_html • exit
Placing your files on pubpages • Open IE 7 • Type in: ftp://yourusername@cisunix.unh.edu/ in the address bar • Click the 'Page' menu button on the right-hand side of the IE 7 browser window and select the option, "Open FTP Site in Windows Explorer" • Type in: ftp://yourusername@cisunix.unh.edu/ in the address bar • Enter your username and password
Placing your files on pubpages • To view: http://pubpages.unh.edu/~jsx33/index.html You will place all the files you create inside this folder