Redirecting multiple domains to just one domain/website?

Soldato
Joined
4 Feb 2004
Posts
13,430
Location
Écosse
Hi,

I have a website which is hosted on my package with my current hosting provider. The domain is also registered through them. Lets say its called www.mymainwebsite.com

I have 5 other domain names registered with 123 Reg, just the domains, no hosting package. These 5 domains are all different permutations of the same name, i.e. .biz, .info, .eu etc. I would like to have anyone typing any of the 5 domains into their address bar to be automatically taken/redirected to www.mymainwebsite.com

How can I achieve this?. I looked into the 123 Reg Control Panel and I can set up web forwarding and have various options under "Manage DNS" as well. Having Googled the issue, it would appear I could use htaccess, A Records or CNAME to do this?. Can someone explain how to achieve this easily?.

My other option was to just upload a "holding page" and have a "Click to enter" link that took you to www.mymainwebsite.com but I'm not sure if that is the best way?.

Thanks in advance for any assistance. :cool:
 
Last edited:
You've basically got 2 options.

The first is to update the DNS (the A records) of each of your other domains to point to the IP address of your main website. You'll just need to make sure the hosting of your main site is setup to look for the host headers of your other domains, not just www.mymainwebsite.com. If you talk to your hosting company they should be able to sort this for you, or you may be able to in the control panel.

The second option is to put a redirect on the default page on each domain which points to your main website.

Personally, I'd go option #1 for better SEO.
 
You have a number of options available to you. If 1-2-3 lets you modify the DNS you can do what is called a 301 redirection which is the best method. I don't know if 123-reg will let you do that though. You could edit the a record on each individual domain to point www at your main site but you need to be setup for that. If they don't I'd be tempted to change the DNS servers to your current host and then add the domains and manage the DNS for them on your current host. There are files you can place on the domains but if you don't have any hosting for them this is no good and DNS redirection is the only way.
 
Thanks for the replies folks, appreciate it.

I asked this same question over at the forums where my main website is hosted and one guy came back and suggested I change the nameservers within the 123 Reg Control Panel for each of the 5 domains there to that of the nameservers of my www.mymainwebsite.com over at my main web hosting. Then add them as Parked Domains in my cPanel and then there is no need for any redirects as they will go to my main website?.

But that seems a bit too simple??!!. :confused:
 
Thanks for the replies folks, appreciate it.

I asked this same question over at the forums where my main website is hosted and one guy came back and suggested I change the nameservers within the 123 Reg Control Panel for each of the 5 domains there to that of the nameservers of my www.mymainwebsite.com over at my main web hosting. Then add them as Parked Domains in my cPanel and then there is no need for any redirects as they will go to my main website?.

But that seems a bit too simple??!!. :confused:
Yep, parking the domains in cPanel will add the correct DNS records to their nameservers and configure Apache accordingly, leaving you just having to configure each domain to use your hosts nameservers.
 
Back
Top Bottom