{"id":38,"date":"2018-02-20T19:41:52","date_gmt":"2018-02-20T19:41:52","guid":{"rendered":"https:\/\/test-hcc-press-wp-multisite.pantheonsite.io\/webauthoring\/chapter\/chapter-12-uploading-content-to-a-web-server\/"},"modified":"2023-06-18T14:00:47","modified_gmt":"2023-06-18T14:00:47","slug":"chapter-12-uploading-content-to-a-web-server","status":"publish","type":"chapter","link":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/chapter\/chapter-12-uploading-content-to-a-web-server\/","title":{"raw":"Chapter 11 \u2013 Uploading Content to a Web Server","rendered":"Chapter 11 \u2013 Uploading Content to a Web Server"},"content":{"raw":"To place pages on the World Wide Web, you will need (1) a domain name and URL and (2) a web server with sufficient space for your files (pages, images, video, audio, and so on). Because you are a student and studying web design, the institution (HCC) will provide a web server and URLs for you to use throughout our course.\r\n\r\nDomain names are issued by designated sites such as GoDaddy.com, Domain.com, and numerous others. These sites have a search function where prospective users can see if their desired URL is available. Domain names rent usually annually for $10 and up. Popular names may cost much more.\r\n\r\nThe domain provider will offer a \u201cpointer\u201d to connect your URL to the server where the content is located.\r\n\r\nIf you have a URL and service space, you will need a file transfer protocol (FTP) program to upload files to the server and set reader permissions. A multitude of free FTP programs are available for download. At HCC we use FileZilla to place files on a student web server maintained by the Computer Science department.\r\n<h2>File Preparation and Upload<\/h2>\r\nTo upload files to a web server, the authors recommend the following steps:\r\n<ol>\r\n \t<li>Make a \u201cgold master\u201d folder on your desktop, such as \u201csite,\u201d and place final files in it.<\/li>\r\n \t<li>Place the required .html, .css, and image\/media files for your site into the folder.<\/li>\r\n \t<li>Follow naming conventions for convenience:\r\n<ul>\r\n \t<li>Use all lowercase letters.<\/li>\r\n \t<li>No spaces in file or folder names \u2014 use hyphen (-) or underscore (_) to separate words.<\/li>\r\n \t<li>No absolute links to images, .css, .js, or other files (e.g., \u201cfile\/\/\/MacintoshHD\/images\/image.jpg\u201d) in your documents.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>Make sure your home page is called \u201cindex.html\u201d so the file will load automatically when the folder is entered.<\/li>\r\n \t<li>If placing image, .css, and other files in folders, be sure to cite the folder name in the link. E.g., \u201cimages\/image1.jpg\u201d<\/li>\r\n \t<li>If placing .html files in a folder, remember you will have to go up one directory level to get to the index file and other folders. Use \u201c..\/\u201d before the folder name.<\/li>\r\n \t<li>Test the files to make sure all links work.<\/li>\r\n<\/ol>\r\nAvoid renaming any files after organizing the folder. The result is to break any links that have been coded since they no longer match to the filename.","rendered":"<p>To place pages on the World Wide Web, you will need (1) a domain name and URL and (2) a web server with sufficient space for your files (pages, images, video, audio, and so on). Because you are a student and studying web design, the institution (HCC) will provide a web server and URLs for you to use throughout our course.<\/p>\n<p>Domain names are issued by designated sites such as GoDaddy.com, Domain.com, and numerous others. These sites have a search function where prospective users can see if their desired URL is available. Domain names rent usually annually for $10 and up. Popular names may cost much more.<\/p>\n<p>The domain provider will offer a \u201cpointer\u201d to connect your URL to the server where the content is located.<\/p>\n<p>If you have a URL and service space, you will need a file transfer protocol (FTP) program to upload files to the server and set reader permissions. A multitude of free FTP programs are available for download. At HCC we use FileZilla to place files on a student web server maintained by the Computer Science department.<\/p>\n<h2>File Preparation and Upload<\/h2>\n<p>To upload files to a web server, the authors recommend the following steps:<\/p>\n<ol>\n<li>Make a \u201cgold master\u201d folder on your desktop, such as \u201csite,\u201d and place final files in it.<\/li>\n<li>Place the required .html, .css, and image\/media files for your site into the folder.<\/li>\n<li>Follow naming conventions for convenience:\n<ul>\n<li>Use all lowercase letters.<\/li>\n<li>No spaces in file or folder names \u2014 use hyphen (-) or underscore (_) to separate words.<\/li>\n<li>No absolute links to images, .css, .js, or other files (e.g., \u201cfile\/\/\/MacintoshHD\/images\/image.jpg\u201d) in your documents.<\/li>\n<\/ul>\n<\/li>\n<li>Make sure your home page is called \u201cindex.html\u201d so the file will load automatically when the folder is entered.<\/li>\n<li>If placing image, .css, and other files in folders, be sure to cite the folder name in the link. E.g., \u201cimages\/image1.jpg\u201d<\/li>\n<li>If placing .html files in a folder, remember you will have to go up one directory level to get to the index file and other folders. Use \u201c..\/\u201d before the folder name.<\/li>\n<li>Test the files to make sure all links work.<\/li>\n<\/ol>\n<p>Avoid renaming any files after organizing the folder. The result is to break any links that have been coded since they no longer match to the filename.<\/p>\n","protected":false},"author":2,"menu_order":12,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[48],"contributor":[],"license":[],"class_list":["post-38","chapter","type-chapter","status-publish","hentry","chapter-type-standard"],"part":17,"_links":{"self":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapters\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":2,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapters\/38\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapters\/38\/revisions\/66"}],"part":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/parts\/17"}],"metadata":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapters\/38\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/pressbooks\/v2\/chapter-type?post=38"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/wp\/v2\/contributor?post=38"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.hcfl.edu\/webauthoring\/wp-json\/wp\/v2\/license?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}