How to Link Multiple Domain Names
- 1). Select one domain name as your primary website domain.
- 2). Log in to the web hosting account of each domain name that you want to be linked to the primary website domain.
- 3). Go to the file management or File Transfer Protocol (FTP) section of the web hosting server. Locate the "htaccess" file and download it to your computer. Alternatively, create a new "htaccess" file if one does not already exist on the server by opening a blank Notepad file and saving it with the file name ".htaccess" on your computer.
- 4). Open the "htaccess" file with a plain text editor program like Notepad.
- 5). Type the following line at the top of the blank file to set a permanent redirection to the primary website domain which you want linked:
Redirect 301 / http://www.primarydomain.com
Save the changes to the file. - 6). Log in to the the web server for each domain name that you're linking to the primary domain. Upload the modified ".htaccess" file to the root directory of your web host's server.
- 7). Type each of the domain URLs which you linked to your primary domain name in the address bar of your browser. Press "Enter" or click the "Go" button and confirm that your browser displays the website of the primary domain name.