Nova: How do I create a website?

There are two ways to create your website:

Option A: Use web authoring software
Option B: Write code manually


Option A: Create a website with web authoring software
You may use an authoring software such as Dreamweaver, MS Frontpage, Netscape Composer, Nvu (KompoZer), or SeaMonkey to build your web pages. Several of these programs are available at no cost. Be sure the software you choose offers FTP upload.

Step 1: Configure your software
Set up your software to publish to your website. Each program is different, but common locations for the Publishing Site Settings tool are in the Edit menu or the Site menu. These are the settings that you will need to provide (use your account name in place of cm325b04):

Site Name : My Nova Website
HTTP (or IP) address of Web site: http://nova.umuc.edu/~cm325b04
Publishing server (or FTP address): ftp://nova.umuc.edu/~cm325b04/www
Username and password: Enter your Nova username and password


Step 2: Configure your UNIX account
Before you can publish your web pages to the Nova server, you must first log into Nova and set your web folders. You will be creating a subfolder called www in your account on Nova. Only files within this www folder will be visible to web browsers. Therefore, all of your .html and graphic files (.jpg, .gif, .jpg, etc.) will go into this folder.

Step 3: Prepare your UNIX account to host your web page

1. Log into your account through a terminal connection.




2. Grant world search access on your home directory to allow people to read your web files. Make sure that you type the periods (.) as shown in the examples. Press enter at the end of each command:

Nova> cd (UNIX does not respond to every command. The silence means it worked.)

Nova> mod 711 . (Don't forget the period!)



3. Create a directory named www under your home directory where all files for your web page will go. Then, grant world search access to the directory:

Nova>mkdir www
Nova>chmod 711 www
Nova> exit



Your Nova account is now set up to host your web page(s).

Step 4: Design and publish your page
While creating your page, remember to save often. If you save your web page as a file called index.html, it can serve as your default home page. When you are ready to publish the web page to the Internet, find the Publish or Put function of your web authoring software to move the web pages to the Nova server. Be sure to check the box for Include images and other files. If publishing results in an error, double check your site settings (the first step in this section). If you have unknown errors, you may have exceeded your Nova account quota.

Option B: Create your web page manually without web authoring software
As an alternative to creating your text files on your computer and transferring them to Nova, you may be asked to use a text editor on Nova to create your .html files. You would still need to move image files to your www directory from your computer. Using one of the editors on Nova (such as vi, jed, pico or emacs), create a document in your www directory named index.html.

Here is a very basic html file:

<html>
<body>
The content of the web page goes here.
Thanks for visiting my site!
</body>
</html>

Save the file to your www folder as index.html. Now set the permissions. All of the files in the www directory must have world read privileges so anyone can read your files when displayed in a browser:

Nova> cd www
Nova>chmod 644 *.*

Important: Don't forget to use chmod 644 *.* any time you create a new document in the www directory that is part of your Web page!

Accessing the Webpage from the Internet

You can access your Web page by using the URL: http://nova.umuc.edu/~userid (where userid is your userid). For example, if Jane Smith had an account named cm325b04 on Nova and she just finished setting the permissions on her Web page, she would advertise her URL as: http://nova.umuc.edu/~cm325b04

A link would be coded like this:

Nova: <A HREF="http://nova.umuc.edu/~cm325b04">Here's my site!</A>

The above link would appear in a browser as: Here's my site!

Because you are storing files on a Unix-based server, the spelling of all your files names is case sensitive. For example, index.html is a separate file from Index.html ! Also, please avoid using filenames that contain spaces.

If you elected not to name your first web page index.html, you would need to specify a filename after your userid and a slash (/) like this:
http://nova.umuc.edu/~cm325b04/filename.html