Solved

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

Posted on 2012-03-15
13
251 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
Comment Utility
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
Comment Utility
just point coco.com to the Ip address that coconav.com is going to in DNS.  This will work.
0
 
LVL 39

Expert Comment

by:Kyle Abrahams
Comment Utility
0
 

Author Comment

by:Itomicltd
Comment Utility
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
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 5

Expert Comment

by:2Cs
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Have a read of this to see this answers your question:

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
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…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now