Active Web Hosting Logo
FAQ Index Getting Started Your Account Domains Web Site & Hosting E-Mail
FTP CGI PHP Scripting MySQL Database Script Installation Legal Information

Pointing A Secondary Domain To Your Domain / Web Space

It is possible to have more than one domain reference your site. For example, you can have your visitors use either or to get to To do this, each domain that leads to your web site must be hosted and online. Then you can have it point to your current web site. There are a couple methods to accomplish this.

Redirect Method

In the web site directory of each domain you have to have an index.html file. Copy and paste the following code into your text editor. Save it as index.html and upload the file via FTP to the domain that you want to redirect to your main site (do not add this as your index.html to the web site you are redirecting to (ie. your main web site).

<META HTTP-EQUIV="refresh" content="0; URL=">

Replace the highlighted text with the URL to your main web site domain.

Frames Method

This method is only ideal for those who do not depend too much on advertising. Frames are not recommended for those who want search engines to spider their site to obtain more hits. If you wish to use this method, put the following code into an index.html file and upload it to the domain that you want to point to your main web site. Replace the highlighted code to fit your needs. Note that the frame src tags appear split up into two lines below. Be sure you have each tag on line line.

<title>Web Site Title</title>
<frameset cols="150,*" border=0 frameborder=0 framespacing=0>
<frame src="" name="menu" marginwidth=5 marginheight=5 scrolling=auto>
<frame src="" name="main" marginwidth=5 marginheight=0 scrolling=auto>
If you would like search engines to find your page, enter a site description here, and a link to the main web site. Also put a notice that this site requires a frames-compatible web browser.

JavaScript Method

This method may not work if a visitor has JavaScript turned off in their browser. However, JavaScript is commonly used on many web pages. Cut and paste the following code into your text editor, save the file as index.html and upload it to the domain(s) that will point to your web site. Do not upload this code to your main web site. Replace the highlighted to suit your site needs.

<title>Web Site Title</title>
<script language="JavaScript">
// -->

Home - Support - Management - About Us
... Active Web Hosting, 1445 American Pacific Dr. Ste 110-318, Henderson, NV 89074 ...
Toll-Free (800) 946-7764   Fax: (702) 567-1831