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 mywebsite.com or
myotherdomain.com to get to mywebsite.com. 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=http://yourwebsite.com">
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.
<html>
<title>Web Site Title</title>
<frameset cols="150,*" border=0 frameborder=0 framespacing=0>
<frame src="http://yourwebsite.com/menu.html" name="menu" marginwidth=5 marginheight=5 scrolling=auto>
<frame src="http://yourwebsite.com/main.html" name="main" marginwidth=5 marginheight=0 scrolling=auto>
<noframes>
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.
</noframes>
</frameset>
</html>
<html>
<head>
<title>Web Site Title</title>
<script language="JavaScript">
<!--
window.location="http://www.yourwebsite.com/";
// -->
</script>
</head>
</html>