150 likes | 172 Views
Learn about the importance of file names and structures in web hosting. Explore how browsers locate files and how to create proper web addresses. Ensure your website's visibility with correct naming conventions.
E N D
How the web works DTC/ENGL 355 March 21, 2016
What this means for you NO WEBPAGE is visible to the world until you save it onto a server. In this case, the BlueHost server space I purchased.
What this means for you When there isn’t a .html file extension on an address (say, like www.kuurola.com/dog.html), the browser will look for the file index.html. For example, when I type www.kuurola.com it is looking for the index.html file in the kuurola.com root level (main) folder
What this means for you You need to care, and care deeply and in a detailed manner, about your file names and file structures.
Web Address Examples • Let’s say I have a folder called “dogs” located in my root folder of my webserver space (in this case, kuurola) • if I go to http://www.kuurola.com/dogs/ • the web browser will look for an index.html page and will return that to my web browser. • the browser will then render the HTML and return a webpage to me
Web Address Examples • http://www.kuurola.com/dogs/breeds.html • Where would we find this file?
Web Address Examples • http://www.kuurola.com/dogs/cats/ • Where would we find this file?
Your Address • IF you use the AML server, your address will be • http://studentweb.engl.wsu.edu/yourname/ • IF you use a web hosting service, you can choose your domain name, and your address will be • http://www.yourdomainname.com
What this means for you DO NOT use spaces, symbols, or capital letters in your file or folder names http://www.kuurola.com/dogs%20and%20cats!.html (this is what a file called “dogs and cats!” would look like as a web address)
What this means for you DO NOT use spaces, symbols, or capital letters in your file or folder names http://www.kuurola.com/Dogsandcats4ever.html (do you want to try to remember which letters you chose to capitalize in your file names? I think not. Lower case. Live it)
HTML The basics