Child pages
  • IU Sitehosting Quick Start Guide
Skip to end of metadata
Go to start of metadata

IU Sitehosting has replaced Webserve so all Webserve account should be migrated to Sitehosting before the end of 2019.  See Migrate your site from Webserve to IU Sitehosting for migration information.

The IU Sitehosting environment is the standard IU platform for Apache/PHP/MySQL web hosting.  By default, you will have a url of the form (where the "group[name" is your chosen group account username) or you can set up virtual hosting so you can select your own domain, like This page is intended to be a quick guide to getting a site set up on Sitehost and includes references to more detailed UITS documentation.

No Restricted or Critical Data

Please note that Sitehost is qualified for Restricted but not Critical data as noted in the About IU Sitehosting.


Step 0: Show Me the Money

Sitehosting and MySQL accounts, including virtual domain hosting, are free for most uses but only with limited storage space quota of 2GB.  If you need more than 2GB that will have to be arranged with UITS.

Step 1: Creating a group account

A group account must be created by either a faculty or staff member of the school.  In some cases, it makes sense for the SICE IT staff to own the group account and, in that case, you can make the request via the SICE Help Desk.  If you want to own the group account then you can create it per the KB page Request IU computing accounts for groups or departments

Step 2: Requesting the Sitehost Account

The next step is to create sitehost account and, optionally, a MySQL database, virtual hosting, and a few other things.  The only thing you have to create is the Sitehosting itself which you can do from the Sitehost on the Enterprise Web Technical Services (Webtech) site at

Step 3: Publishing to Sitehost


Step 3a: File Upload via SSH/SCP/SFTP


Step 3b: File Upload via Drive Mapping


Step 4: Selecting a URL

As noted earlier, you will have a URL of the form (where the "groupaccount" is your chosen group account username) or you can set up virtual hosting so you can select your own domain, like (where you provide the "something).  If you want to set up virtual hosting, just go to the Web Technical Services (Webtech) site and click on the Overview:groupaccount link for the particular group account.  From there, just click on View Virtual Hosts > Request a New Virtual Host and submit the form.   If you want to do this and you will be using the domain, please let us know via the SICE Help Desk.

Step 5: MySQL Database Access

After you have created the Sitehost account, you can optionally create a MySQL account from the WebTech Services Management Page.  Just log into the web interface, locate the group account, and click Add to request the MySQL account.  You will need to answer a number of questions regarding your use of the database.   You should hear from UITS within a day or so after making the request with details about your database.  You will receive two MySQL instances, one for testing and one for production as follows:

  • Server: (test) and (production)
  • Port Number: UITS will provide non-standard port numbers for each
  • Username: root (you will need to create non-root accounts yourself)
  • Password: UITS will distribute the passwords via either phone or campus mail

Armed with this information, you can access your MySQL instances per the setup section of the  IU MySQL User Guide.

Notes, Tips, and Tricks

  • Web Logs -You have access to web usage data using the url[account name] (where you replace [account name] with the name of the group account you are using.  This data includes any virtual domains being hosted under that account.  For more information see the User Documentation for WebHost Services Web Usage Reports.

  • Directory Indexes - TBD  (This section is wrong) By default, you will not be able to get directory listings when a directory doesn't contain and index file (like index.html).  However, you can enable this feature by following the instructions in the help page Enabling Directory Indexing on Webserve.  However, they suggest using "Options Indexes" in the .htaccess file but that also removes the default Options settings.  If all you want to do is add indexing then you can use "Options +Indexes" instead.

  • Canonical URLs - If you are hosting a virtual domain you probably want to set up a canonical URL for your site and redirect all other URLs to this preferred URL.  For example, if you have but the site is also reachable using urls and then you can force all URLS to use by added this to a .htaccess file at the top of the site:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^$
    RewriteRule ^(.*)$$1 [R,L] 

    Note that having your site only accessible via a single domain can also help with Search Engine Optimization (SEO).

  • Redirecting All Requests to HTTPS - All traffic on the IU Sitehost system will be via https so the redirect from http to https happens automatically.

Getting Help

Your best source of information about Sitehost is the IU Webmaster web site.  If you get stuck and want to contact the IU Webmaster team, see their Contact Page.  If you are affiliated with the School of Informatics, Computing, and Engineering (SICE) and would like help setting up your web site, please submit a request using the SICE Help Desk.