About virtual hostnames on Webserve

Important:
On Webserve, the default version of PHP is 7.1; however, PHP 5.6 will still be available until it is retired at the end of December 2018. Webtest servers are already using PHP 7.1. For help specifying which version of PHP to use, see PHP server-side scripting language.

On this page:


How virtual hostnames work

A virtual hostname is a name that substitutes for the actual hostname in a URL that Webserve recognizes as associated with an alternative root document directory. Virtual hostnames make it easier for users to view the main site or a specific place within your site.

If chosen carefully, using a virtual hostname creates a shorter and more intuitive way to specify the hostname in a URL that refers to your site.

Each of your virtual hostnames is bound to a distinct directory somewhere within your /www directory tree. This directory becomes the root directory for a particular virtual hostname.

Keep in mind that using a virtual hostname to simplify access to your site does not replace the standard way of referring to a website on one of the central IU web servers (e.g., http://www.indiana.edu/~account).

The examples below serve only to show how a virtual hostname is an alternative method of referring to the main entry point for a site:

Standard URL Virtual hostname alternative
http://www.indiana.edu/~account
http://anothername.indiana.edu/
http://www.iupui.edu/~account http://anothername.iupui.edu/
http://www.iun.edu/~account http://anothername.iun.edu/
http://www.iuk.edu/~account http://anothername.iuk.edu/
http://www.iue.edu/~account http://anothername.iue.edu/

Use the iu.edu domain

See Request IU.EDU or designer domain naming.

To use the iu.edu domain, the domain must meet the following requirements:

  • The domain must have a system-wide presence, i.e., your school must have a presence at Indiana University's regional campuses, and the servers in the domain must be accessible to the regionals.
  • The domain must represent a non-profit, non-commercial agency, institute, or program affiliated with IU.

A detailed description of your service must include an explanation of how your service qualifies based on the points above.

Since virtual hostnames are usually used to advertise an entrance to your site, there is no need to change links that refer to documents within your site using the old standard format. The links will continue to work as they did before adding the virtual host service.

Use the secure WWW server with a virtual hostname

UITS recommends using the secure WWW server with your virtual host only if there is a need for it. For more, see Secure WWW server.

Request a virtual hostname

To request a virtual hostname, you first must have an account on Webserve; see About Webserve accounts All virtual hostnames are associated with an existing account and its sponsor.

Look over the policy document and construct your virtual hostname. Complete and submit the Virtual Host Name Request Form.

Request a designer domain

Before you request to host a designer domain on Webserve, you must first have a Webserve account. See About Webserve accounts You should submit a Virtual Host Request Form prior to purchasing your domain, but you should make certain your intended domain is available before submitting your request.

Once your domain has been approved, you will need to purchase your domain from an outside registrar (e.g., GoDaddy or Network Solutions). Once you obtain your domain, list Indiana University as the owner, set the name servers as dns1.iu.edu and dns2.iu.edu, and make certain that the listed technical contact person will be reachable for questions during the process. Under "Additional Information", include the name of your outside registrar.

This is document bfnt in the Knowledge Base.
Last modified on 2017-12-07 12:59:51.

Contact us

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