ARCHIVED: The basics of creating a web page
This document contains the essentials of publishing pages on the World Wide Web at Indiana University or elsewhere. Several steps are involved in this process; if you need more information about any of these steps, see the Knowledge Base documents linked within the relevant section.
Getting web space
To publish your web page, you need an account capable of hosting web pages. At IU, you have several account options available, including departmental or organizational accounts on the central web servers and personal home pages on Mypage. For more information, see At IU, how can I publish on the World Wide Web? and ARCHIVED: At IU, how can I publish personal pages on Mypage?
Note: On June 23, 2008, UITS will retire Steel. As part of this process, UITS will move the Mypage service to a new platform. For more, see About the Mypage migration.
Note: At Indiana University South Bend, the Mypage service is different from the Mypage service mentioned in this document. For more information, see IUSB's Web Publishing: Mypage page.
If you are not at IU, or do not want to host your pages on the university servers, you can publish your web site from an outside Internet service provider (ISP). Most popular ISPs offer web publishing capabilities at no additional charge, although very large, graphics-intensive, or popular sites might incur charges; consult your ISP for details. For more information about ISPs, see:
- What are the ISPs in the Bloomington area?
- Who are the ISPs in the Indianapolis area?
- At IU's regional campuses, how can I find an ISP?
Creating your pages
Web pages are usually written in HTML, or Hypertext Markup Language. If you are not familiar with HTML, see What is HTML, and where can I find a guide for creating HTML documents? If you do not want to learn HTML, you can use software designed for creating web pages (e.g., Dreamweaver); additionally, many popular word processing programs have HTML editing capability. For more information, see For HTML, what editing software is available?
If you are familiar with HTML, you can use a text editor on the server itself (such as Pico or Emacs on a Unix system) to design your home page.
You can find information about web design issues on the IU Webmaster page at:
http://webmaster.iu.edu/Note: If you choose to write your pages with
something other than a text editor in your account, you will need to
transfer your pages from your computer to the account where your web
pages will be hosted. If you are publishing your pages on Mypage, you
will need to transfer your files to the www directory in
your Steel account using a secure FTP
program. For more information, see In SSH Secure Shell for Windows, how do I transfer files? or In Mac OS or Mac OS X, how do I use MacSFTP to transfer files? If you created your web pages using an HTML editor such
as Dreamweaver, you can use the built-in upload feature only if it
allows secure file transfer. For help, consult the documentation for
your software.
Setting permissions
After your pages are in your account, you must make them world-readable (available to web users) by setting the permissions on the files. After you have set permissions correctly, you and others will be able to view your page in a web browser. You have a few different options for performing this task:
- If you are creating your web pages on Mypage, after you have saved or
transferred your file, at the Unix prompt, enter
spinweb.The
spinwebcommand does several things, including setting the permissions on all the files in thewwwdirectory to make them world-readable. You need to runspinwebevery time you add a new file to yourwwwdirectory, or nobody will be able to view that file on the web. For more information, see What is spinweb? - From within Unix, you can change your file permissions yourself with
the
chmodcommand. (For example, on Steel, enterchmod 755 wwwat the prompt.) For more information, see In Unix, how do I change the permissions for a file?
- If you are using an outside ISP, consult your ISP's support for more information about setting permissions for your web pages.
Publicizing your web pages
- If you have created a web page on Mypage/Steel, your home page address
will automatically be included in the Directory of
Personal Home Pages at IU. However, it will not appear in the
listing until the next day. It will look something like:
http://mypage.iu.edu/~username/
The URL above (with your username substituted for
username) will work only if your home page is namedhome.htmlorhome.htm.Note: The script that automatically updates the Directory of Personal Home Pages will not include your page unless your
wwwdirectory is world-readable. If you have recently runspinwebon Steel, or used thechmodcommand described above, you do not need to worry about this. - You may wish to create in your email account a signature file containing the address of your home page. This is a popular way of publicizing your home page because the signature file will be automatically appended to every email message you send. For information on signature files, see In email, what is a signature?
Also see:
- At IU, where can I get help creating a web page?
- How do I use special characters on my web page?
- How can I submit the URL of my web page to search engines?
- What is spinweb?
- What is SFTP, and how do I use it?
- At IU, what is the policy for information on personal web pages?
- How can I design accessible web pages?
- At IU, how do I add or remove a link from the Directory of Personal Home Pages to my web page?
Last modified on June 23, 2008.






