About pages.iu.edu

UITS provides Pages for serving individual web pages. Current faculty, staff, and students are eligible for accounts. Retired faculty and staff who would like to keep their Pages site active should contact Support Center Tier 2.

For policies regarding posting information on Pages, see About IU's policy on information on personal web pages.

On this page:


About Pages accounts

IU Pages was migrated to a new server on August 4, 2020. The Mercury server, where IU Pages accounts were previously hosted, has been retired and replaced with the new Pages server. Most websites will be active on the new servers without any further action required. However, some users will need to take additional steps to activate their websites; UITS will contact those users directly with more information. These steps do not apply to IU Pages websites created after the migration date.

Pages is for an individual's professional, research, instructional, or academic web content. The server you use to manage your account is ssh-pages.iu.edu, and the URL is username.pages.iu.edu. You should not use Pages to share hobbies, family information, and favorite entertainment links or other purely personal content. Accounts on Pages are assigned to an individual user account and intended to be maintained by that single user.

If you will be using your web pages for official IU business related to your organizational unit, approved professional organization, or registered student group, then you should request an account on IU Sitehosting. Accounts on IU Sitehosting have access to subservices and web utilities not available through Pages. To determine which account is best for you, see Differences between IU Sitehosting and Pages.

The web pages for the Pages service are hosted on ssh-pages.iu.edu. On ssh-pages.iu.edu, your Pages files are located in your ~/web directory and its subdirectories.

If you have IU computing accounts but not a Pages account, you can create one using the instructions in Get additional IU computing accounts. Your account should be available within two hours after you create it, and will have a storage space of 1 GB.

Create your individual home page

Choose a tool for creating and editing HTML files

You have the following options for creating and editing your HTML files:

  • Use an SSH2 client to open a terminal session on ssh-pages.iu.edu, and then use one of the installed text editors (Emacs, Nano, or vi) to create and edit your HTML files, and save them in your ~/web directory. When connecting via SSH, use the server name ssh-pages.iu.edu, and your IU username and passphrase.

    ssh-pages.iu.edu is configured as follows:

    Server name ssh-pages.iu.edu
    Operating system Ubuntu
    Web server software Apache 2.4
    Default shell /bin/bash
    Note:
    When connecting to ssh-pages.iu.edu from outside the IU network, use VPN.
  • Use a text editor or word processor on your computer to create and edit your HTML files, and then upload them to your ~/web directory on ssh-pages.iu.edu using an SFTP client (see Upload your files below).
    Note:
    If you use a word processing program, make sure to save the file you create as a plain text file (or as HTML text, if that option is available) rather than the default word processing file format.
  • Use an application specifically designed for creating and editing web pages, such as Adobe Dreamweaver, and then upload your files to your ~/web directory on ssh-pages.iu.edu using an SFTP client (see Upload your files below).
    Note:
    You can use your HTML editor to upload your files to ssh-pages.iu.edu only if the program supports secure file transfer. For help, consult the software's documentation.

Name your home page

For your page to be listed in the Directory of Personal Home Pages, your home page must be named home.html. If you don't want your page listed in the directory, choose one of the following alternative filenames for your home page:

home.html
index.html

If you do not use any of these filenames, the URL http://username.pages.iu.edu (where username is your username) will return an error.

Manage your files on Pages

Upload your files

Once you've created your web pages, you need to make sure they're in the proper place in your Pages account. If you used a text editor on ssh-pages.iu.edu from within your ~/web directory, your files are already in the right place.

If you used created your web page on your personal computer or on an STC workstation, you will need to upload the file to ssh-pages.iu.edu using an SFTP client.

To work with your Pages files and directories from the command line on ssh-pages.iu.edu, use an SSH2 client (for example, PuTTY in Windows or the Terminal in macOS) to open a terminal session on ssh-pages.iu.edu. When connecting via SSH, use the server name ssh-pages.iu.edu, and your IU username and passphrase.

Note:
When connecting to ssh-pages.iu.edu from outside the IU network, use VPN.

Because Pages runs on a Unix-like operating system (Ubuntu), you should be familiar with some basic commands. In particular, note the following commonly used commands:

  • Change directories: When you SSH to ssh-pages.iu.edu, you most likely will land in your home directory (~/). Use the cd command to navigate between directories:
    • To change from your home directory to your ~/web directory (where your Pages files are stored), on the command line, enter cd web.
    • To change from your ~/web directory to one of its subdirectories (if one exists), enter cd my_directory (replace my_directory with the name of your subdirectory).
    • To move back one level, from your subdirectory, to your ~/web directory, enter cd ...
    • To return to your home directory (~/) from any directory or subdirectory, enter cd.
  • List files: Use the ls command to view the contents of a directory:
    • To list non-system files and directories stored in the current directory, on the command line, enter ls.
    • To include system/configuration files (dot files) in the list, enter ls -a.
    • To list all files and directories (including hidden dot files), and their associated metadata, enter ls -al.
    • To list non-system files and directories (and their associated metadata) sorted by modification time (newest first), enter ls -lt.
  • Create a new directory: To create a new directory within the current directory, on the command line, enter mkdir my_directory (replace my_directory with the name of your subdirectory).
  • Set file permissions: The correct file permissions should be set by default so that your pages will be visible to you and to others in a web browser.

    Use the chmod command to set file permissions:

    • To set file permissions an HTML file in your current directory, so that its accessible to anyone with the URL, on the command line, enter chmod 755 my_file.html (replace my_file.html with the name of your file).
    • To set file permissions on all files and subdirectories in your ~/web directory, so they are accessible to anyone with the appropriate URLs, enter cd to make sure you're in your home directory, and then enter chmod -R 755 ~/web.
    Note:
    You also can limit access so that only specific IU individuals can view your pages; see Limit access to your files below.

For more, see Introduction to Unix commands.

View your web pages

Once your files are in place and the permissions are set correctly, you can view your web pages in a browser:

  • To view your home page (the home.html file in your ~/web directory), use the following URL (replace username with your IU username):
    http://username.pages.iu.edu/
    
  • To view another web page stored in the top level of your ~/web directory, add the file name to the end of the URL; for example (replace username with your IU username and my_file.html with the name of your file):
    http://username.pages.iu.edu/my_file.html
    
  • To view a web page stored in a subdirectory of your ~/web directory, the URL will include the name of that directory; for example (replace username with your IU username, my_subdirectory with the name of the subdirectory, and my_file.html with the name of your file):
    http://username.pages.iu.edu/my_subdirectory/my_file.html
    

Limit access to your files

To limit access to your web pages so that only specific IU individuals can view them, use .htaccess files in your ~/web directory and its subdirectories. For more, see Control web page access for Mercury.

Publicize your individual home page

You have the following options for publicizing your individual home page:

  • Create an email signature file that contains the URL for your home page. The signature file will be automatically appended to every email message you send.
  • You may submit your web page's URL to a search engine such as Yahoo! or WebCrawler, but note that some search engines use robots to verify the address. By default, all Pages accounts have a robots.txt file in the ~/web directory that denies access to search crawlers. You can edit that file to allow certain search engines to index your website, or you can remove the file entirely to allow all indexing. For more about the robots.txt file, see Introduction to robots.txt.

Archive and transfer your site

You may want to save your website or some files in your account for your instructor's use, for your own use after you leave IU, or as an additional means of backup. You can use the Unix tar command to save entire directories or collections of files in one archive file that you can send to your personal computer or an STC workstation. You can also use the tar command to compress your archive to a smaller size, making it quicker to transfer. From your personal computer or an STC workstation, you can use IU's Slashtmp service to share that file with someone such as your instructor.

For more, see:

This is document alcr in the Knowledge Base.
Last modified on 2020-08-05 10:42:54.

Contact us

For help or to comment, email the UITS Support Center.