Solved

How exactly to Redirect users to new website when they type in old URL.

Posted on 2012-03-15
13
260 Views
Last Modified: 2012-06-21
(*addresses are fictitious)

We have a site called www.coco.com which is live.
We are setting up a new site called www.coconav.com and it will be live next week.
We want anybody who goes to www.coco.com to get redirected to www.coconav.com from next week on-wards. We don't have access to www.coco.com hosting environment, so i am presuming i can simply change a DNS record here right ? Or can i have www.coco.com and www.coconav.com both pointing to same website ?

What exact change do i need to make ?
0
Comment
Question by:Itomicltd
13 Comments
 
LVL 5

Expert Comment

by:2Cs
ID: 37724837
You just need to setup web forwarding. Your domain provider should be able to provide this within their control panel.
0
 
LVL 8

Expert Comment

by:thomasdavis
ID: 37724846
just point coco.com to the Ip address that coconav.com is going to in DNS.  This will work.
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 37724853
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:Itomicltd
ID: 37724881
I want to got through the DNS record route here, so i obviously need to change what www.coco.com is pointed to, right ?  I only want to redirect www traffic not domain traffic, so do i change the current A record for www.coco.com to point to the IP of www.coconav.com ? or do i go down the CNAME route ? What's the difference ?
0
 
LVL 5

Expert Comment

by:2Cs
ID: 37724894
Depends if you are using Google analytics's.

If you use a CNAME they shouldn't give you duplicate entries, but if you point the website using an A record then they would.

You would also have to setup on the other end a binding for the address you are forwarding, otherwise the web server will be unable to resolve the request.

With web forwarding you should be able to direct just the www and then amended the root domain entry to whatever you would like.

We use Fasthosts and I do this regularly.
0
 

Author Comment

by:Itomicltd
ID: 37724912
We have no access to website hosting control panel. We can only put this forward in place via DNS record changes. What exact records should i change ?
0
 
LVL 5

Expert Comment

by:2Cs
ID: 37724935
You can always setup hosting for the site you wish to forward, then use an ASP file or another language to forward requests to your new domain:


So users go to www.olddomain.com and the below code re-directs them to www.newdomain.com

<%
Response.Redirect "http://www.newdomain.com"
%>
0
 

Author Comment

by:Itomicltd
ID: 37724952
I am not a website developer, so if i can only accomplish this by the above then i will have to contact our web guys, is there no simple redirect i can put in place in DNS settings, so anyone who goes to www.coco.com get's sent to the new site ?
0
 
LVL 5

Accepted Solution

by:
2Cs earned 500 total points
ID: 37724970
Your only options are:

1) web forwarding

2) use a CNAME for your old domain pointing at the new one

3) change A record to point and new location and add binding

4) use file redirect

But you are obviously limited to your options when using a shared platform.
0
 

Author Comment

by:Itomicltd
ID: 37724987
I can only use option 2 or 3 in this case.

Option 3 is most likely choice here...

So let's say i change the IP address in the A record of www.cococ.com , what am i asking the web guys to do on the web server regarding bindings ?
0
 
LVL 5

Expert Comment

by:2Cs
ID: 37725011
On the new web server they add a binding to www.newdomain.com to also accept requests for www.olddomain.com.

Be aware the address bar will display as www.olddomain.com and not www.newdomain.com.

If you have access to the new web server you can setup www.olddomain.com on the new server as its own site with the A record pointing to the new server in DNS. Then within IIS/Apache put a 301 redirect to www.newdomain.com so the address bar will display the new domain...hope that makes sense.
0
 

Author Comment

by:Itomicltd
ID: 37725247
What if I request that a new Cname record for  www.coco.com which points to www.coconav.com, and then get them to delete the A record for www.coco.com. What happens if i do this ?
0
 
LVL 5

Expert Comment

by:2Cs
ID: 37725282
Have a read of this to see this answers your question:

http://www.aitechsolutions.net/cname-serveralias-redirection.html
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question