Homework Web Hosting
Follow the instructions and create a website on a web hosting site. Make sure to answer ALL the six questions (100 points) at the end of this article!
Please use the following site for free web hosting and free sub- domains: www.freehostspace.com
When sign up for a new account, please don’t create new domain. You will have free sub-domains after your account is created.
You will need to verify from your email box to activate the new web hosting account.
To create a free sub-domain, click on “Hosting Tools” on the top menu of such site, then click on “Domain Manager”
Then click on “Create a free sub-domain”, as shown in the following picture:
After creating the subdomain, you may use the “File Manager” to create a new web page “index.html”. First, select your subdomain (the left green circle in the following picture), click on the “./” (as shown in the bottom green circle of the picture), then click on the button “Create”.
Then, in the pop out window, choose “Create File”, enter “index.html”, as shown in the picture below:
To edit the web page “index.html”, select it and click on the button “Open” on the top right corner. Place the following content into it:
<html><head><title>ITC 3100</title></head><body><h1>ITC 3100 Home Page2020</h1><ul><li><a href=”project.php”>My project</a></li><li><a href=”aboutme.html”>About me</a></li><li><a href=”http://www.uncp.edu”>UNCP</a></li></ul></body></html> Please create “project.php” and “aboutme.html” in the same process. For the “project.php”, all that you need to place is only one line for now:
<?php echo “<h1>Under construction</h1>”; ?> For “aboutme.html”, you need to put at least the following information into such web page: your name, hobby, and a favorite picture (any picture: a flower, UNCP, etc.) Make sure to upload the picture file into the same folder as the web page so that you can simply refer in the src attribute of the <img> tag by the picture ’s file name with its file extension. Double check your homepage by clicking the two links (one to the project page and the other to the aboutme page) to make sure that they work.
2. Can users use the features of their web browsers, such as “View Page Source” or “inspect”, to see the PHP source code of your web pages? (10pts.)
3. What is the name of your homepage file? (10pts.) 4. What are the differences between a local link and an absolute link?
(10pts.) 5. In the “index.html” file, which ones are local links? (10pts.)Which ones
are absolute links? (10pts.) 6. List the complete URL of your website so that I may check its contents
(e.g., homepage, project page, aboutme page). (50pts.)