Skip to content

Getting started with MyWeb

Updated  by raking
  • PDF
  • Print

Details

If you were automatically redirected here when visiting a page on MyWeb, the administrator of the website has not placed a default page inside the root of their web space or replaced the default file (home.html). MyWeb websites come with a default page named home.html, and that page contains code to automatically redirected visitors to this location. The home.html must either be replaced with a completely new file, the redirect code removed from that file, or a new default file must be added which will supercede the home.html file.

When an administrator is working on a new site on MyWeb, the first file they need to create must have a very specific name. This is usually called an index page, a default page, or a home page. The file name required is one of the following:

  • index.php
  • index.asp
  • index.aspx
  • index.htm
  • index.html
  • default.php
  • default.asp
  • default.aspx
  • default.htm
  • default.html
  • home.php
  • home.asp
  • home.aspx
  • home.htm
  • home.html

When a visitor to the site browses to the site at www.myweb.ttu.edu/your_eRaider_username without specifying a file name (e.g. /somepage.htm), the web server will look for an index or default file with one of the names listed above, in order, one by one, until it finds one. The name is case sensitive, so please be certain to use lower-case letters to name the page.

As seen above, the home.html file is the last file in the search order. If one of the file names before it is not located in the root of the website, the home.html file which is created when the site is activated will be displayed. This home.html file contains code which redirects visitors to these instructions.

If you name your home page file to one of these file names, the page should show up when you go to your website's address at www.myweb.ttu.edu/your_eRaider_username.

Be sure you save your index/home page in the root of the "MyWeb" folder. Do not save the home page in a sub-folder underneath the "MyWeb" folder. The "MyWeb" folder is the root directory of your website.


OUTCOME

Once you have a file with one of the names listed above, your MyWeb page should appear when visiting its address.

For training on website administration and related technologies, visit www.depts.ttu.edu/itts/training to review the offerings by the TTU IT Division. You may also consider enrolling in one of many courses offered through Texas Tech University's broad curriculum.