The following example script presents the website for anotherdomain.com while keeping yourdomain.com in the address bar of your browser:
Option I: To forward your website to another domain you host on the same Netfirms account, please follow these steps:
1. Login to the Netfirms Control Panel at https://controlpanel.netfirms.com
2. Click Domains
3. If the domain has not been added to your account yet, click Add and do a New DNS
Registration or do a DNS Transfer of the domain you already own.
4. Once the domain is added, returns to the Domains page. For the domain in question, click the pencil and notepad icon located underneath the "Forwarding Location" column
5. Enter the forwarding location using the following guidelines:
Example #1:(a) If you type in a relative path, the pointer domain in the browser will display the content for that location of your web directory.
For an account with mutliple domains, each domain can be associated with its own website as long as you create a folder for each domain.
The domain you type into the browser is the domain name visible in the browser address bar.
Example of a relative path (note the required trailing slash in each of the examples below):
/myseconddomain.com//photogallery/
NOTES:(i) A trailing slash forwards to a directory (eg. /myseconddomain.com/). No trailing slash will forward to a filename (eg. /myseconddomain.com/file.html).
(ii)When forwarding to a folder, the folder name must not contain any illegal characters (eg. underscores are not permitted).
(iii) Please allow several minutes before the new configurations are activated on our systems.
Option II: Using HTML Scripting (supported on all Premium Hosting plans):
<html>
<head>
<title>yourname</title>
<meta name="description" content="www.yourdomain.com">
</head>
<frameset rows="100%,0" border="0">
<frame src="http://www.anotherdomain.com" frameborder="0">
<frame frameborder="0">
</frameset>
</html> Option III: Using PHP Scripting (check your Netfirms Control Panel or click here to see if your plan supports PHP):
<?php
$crawl = 'http://www.anotherdomain.com';
$fd = fopen($crawl, "r");
while($buf = fgets($fd,1024))
{
echo $buf;
}
fclose($fd);
?>
Option IV: Configuring an A Record
If your domain's website is hosted elsewhere and if it is associated
with a dedicated IP address, you may configure a custom A record for
the domain.
Option V: Configuring a CNAME Record
1. Login to the Netfirms Control Panel at https://controlpanel.netfirms.com
2. Click Domains
3. For the domain you wish to mask, click Admin
4. Click CNAME
Subdomain to enter: www
CNAME to enter: subdomain.anotherdomain.com
5. Once the above CNAME is configured, click the
paper/pencil icon for yourdomain.com and configure the forwarding
location as www.yourdomain.com (where yourdomain.com is the domain you
have just masked)