Creating a personal home page on MypageUITS provides Mypage for serving personal web pages. Anyone with a Network ID may create a personal web page on Mercury and publish it using Mypage. The Mypage service removes the burden of serving web pages from IU's general-purpose Unix systems.
For policies regarding posting information on Mypage, see Policies for personal web pages
On this page:
- About Mercury/Mypage accounts
- Making a secure connection
- Creating your personal home page
- Working with your pages on the server
- Accessing your personal home page
- Controlling who can see your pages
- Sharing files with others through your personal home page
- Publicizing your personal home page
- Archiving and transferring your site
About Mercury/Mypage accounts
The Mypage service at Indiana University is for personal web pages only. You can share your resume, research findings, or family photos, for example. If you will be using your web pages for official IU business (e.g., instruction, research, administration), request an account on IU's central web server, Webserve. Accounts on Webserve offer access to some web utilities not available through Mypage. For more, see the IU Webmaster's Accounts. To determine which account is best for you, see the Mypage and Webserve sections of Central hosting.
Mypage pages are hosted on Mercury; that is where you will log in and create, upload, or update your pages. If you have an IU Network ID but not a Mercury account, to create an account, see Instructions for getting more computing accounts at IU
Your account should be available within an hour after you create it, and will have a storage space of 1 GB.
Making a secure connection
To log into your account on Mercury or upload files to it, you need to use a secure client. For help, see:
- SSH/SFTP clients supported at IU
- Transferring files with SFTP
- In Mac OS X, how do I use Cyberduck to transfer files over SFTP?
If you use an HTML editor (e.g., Dreamweaver), you can use the software's built-in upload feature to move files to Mercury only if it permits secure uploads. Consult the program's documentation for information about secure file transfer.
To connect to Mercury, use the server name
mercury.uits.indiana.edu. Log in with your IU
Creating your personal home page
Web pages are text files containing special instructions, or tags, to tell web browsers how to handle the text. These tags constitute HTML.
At IU Bloomington and IUPUI, IT Training offers workshops on creating web pages and graphics. Browse workshops by topic to view the current offerings.
You can also learn about HTML by looking at the source text (i.e., text coded with HTML tags) of existing web pages.
Choosing a tool for writing and editing HTML files
You have the following options for writing and editing HTML files:
- Use the text editors Nano and vi on Mercury. Nano is
similar to Pico; if you are familiar with Nano, Pico, or
vi, this is probably the easiest way to create or edit your pages. For
nano home-template.htmlto use Nano to edit the template home page file created automatically in your
Note: If you edit the template file created bymv home-template.html home.html
spinwebto create your home page, you may want to rename it from
home.html. To do so, at the Unix prompt, enter:
- You can also use any text editor or word processor with which you
are familiar. Some of these programs, such as Microsoft Word and
BBedit, come with tools that assist in creating HTML documents.
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. Also, if you create your files using a word processor or an HTML editor, you will need to transfer them to Mercury. See Uploading your files below.
- You can use an HTML program specifically designed for creating web
pages (e.g., Adobe Dreamweaver). These programs help you manage HTML
tags and format your text.
If you use an HTML editor with built-in file-transfer capabilities, you can upload files to Mercury only if the program permits secure file transfer. For help, consult the software's documentation.
Naming 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
index.shtml. If you do not use any of these filenames,
username is your username) will return an error.
Working with your pages on the server
Uploading your files
Once you've created your web pages, you need to make sure they're in
the proper place in your Mercury account. If you created your web
page directly on Mercury using Nano from within your
directory, your files are already in the right place.
Navigating on Mercury
Note: To run Unix commands on Mercury, you will need to use a command-line SSH interface.
Because Mercury is a Unix system, you may want to familiarize yourself with basic Unix commands. See:
In particular, note the following commonly used commands:
- To see all the files in the directory that you're in,
- To create a new subdirectory, enter
directorynamewith the name of the subdirectory you'd like to create). If you have problems viewing files in the new subdirectory in a browser, run
spinwebat the command line on Mercury.
- To move to a different directory, enter
directorynamewith the name of the directory to which you'd like to move).
If your Unix configuration files ever become corrupt or stop working,
you can run the
ezreset command; for more, see At IU, what is ezreset, and how can I use it to reset my accounts to their default settings?
Spinweb and 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. If you
have trouble viewing your pages, run
spinweb while logged
into your Mercury account. This should correct any problems and ensure
that the permissions are set correctly on your
directory and any subdirectories. For more, see The spinweb utility
Alternatively, you can set proper permissions by using the Unix
chmod command. While logged into Mercury and at your
home directory, enter
chmod-R755~/www. This command
sets the permission on
~/www and all files and
directories within it so they are accessible via the web.
Accessing your personal home page
Once your files are in place and the permissions are set correctly, you can view your personal home page from a URL similar to the following:http://mypage.iu.edu/~username/
username with your username. This URL will take
you to the
home.html file in your
directory. Thus, the full URL for your home page will be
the following, with
username replaced by your username:
For files other than
home.html that are in the top level
www directory, the URL must include the
filename. For instance, if your username is
you have a file in your
www directory called
secrets.html, the URL for the
page would be:
If the file is inside a subdirectory of the
directory, its URL includes the name of that directory, the
/ (slash) character, and the filename. For
dvader has a directory called
death-star inside his
www directory, and the
death-star directory contains a file called
blueprints.html, the URL for
Controlling who can see your pages
You may serve personal pages over a secure server. Newly created
Mercury accounts automatically have a
You can have some control over who is able to view your web pages by
.htaccess files in your
and its subdirectories. For more, see Controlling
Web Page Access. The information refers to Webserve, but also
applies to Mercury.
Be especially careful that your permissions are set correctly, and
keep in mind that you can specify access by IU Network ID only in your
Sharing files with others through your personal home page
Your Mypage space is a good way to share files with others outside of
IU. To upload the file you would like to share, make a secure FTP
connection to Mercury as described above. Once you transfer the file,
spinweb to make sure the file permissions are set
correctly. When you have done that, others can access the file. If it
is in your
www directory on Mercury, the URL will be
similar to the following:
username with your username, and
with the name of the file you uploaded.
For information about limiting access to your files, see Limiting access to web pages
Publicizing your personal home page
You have the following options for publicizing your personal home page:
- If you have a file named
wwwdirectory on Mercury and have run
spinwebafter creating it, this page will be listed in IU's Directory of Personal Home Pages (the directory updates twice a day). Once your page is linked from the directory, anyone using the IU Search will be able to find it. For more about using this directory, see At IU, how do I add or remove a link from the Directory of Personal Home Pages to my web page?
- You may wish to add your home page address to your IU Address
Book entry. See Changing the information in your online IU Address Book entry and the Global Address List
- Another option is to 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. At IU, the Mypage server has
robots.txtfile that denies access to all robots. Faculty and staff may change their
robots.txtsearch engine crawl settings at Search Engine Crawl Settings for Mypage. Student pages can only be indexed by search engines that do not use robots.
Archiving and transferring your site
You may want to save your web site 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
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
For more, see: