Saturday, August 22, 2015

How to Create a Multipage Website


Decide what pages your website should actually have. Starting out with a plan will save plenty of time later. For example, a basic website might consist of three pages: a homepage, an 'About' page, and a photo gallery.
Open a text editor such as Notepad (in Windows) or TextEdit (on a Mac) and create a new file for each page you plan on including. When saving each file, make sure to save them with a '.html' extension, and name your homepage 'index.' So using the above example, you would create three pages: 'index.html,' 'about.html,' and 'gallery.html.'
Think of a domain name ('example.com') to name your site. Come up with something easy to remember, as brief as possible, and spelled correctly.
Sign up for a web hosting plan. Since this is a very basic site, you won't need to pay for anything fancy, and in fact you can get a hosting plan for free from sites such as FreeHostia (see Resources). When signing up, you'll be able to register your domain name, which should cost about $10 for a year.
Log into the hosting control panel that your web host provided you after you signed up. Inside, there should be a 'File Manager' section. Open it, and look for a folder either named 'public_html' or named after your domain. Upload all your HTML files inside it.
Open a new browser window and type in your domain name in the address bar. The page that's automatically displayed will be 'index.html,' and you can reach your other pages by going to example.com/about.html, example.com/gallery.html, and so on.Of course, unless you've added something to each page, they're blank. To actually fill your pages with content, you'll need to write some HTML code, which is the basic language of the web and very easy to learn (see Resources for free HTML tutorials).
VPS Hosting

No comments:

Post a Comment