A record and CNAME

We would like any traffic to e-math.ams.org to be redirected to www.ams.org. We would like to retain the operability of that domain but would prefer it not be perpetuated.  When someone puts e-math.ams.org in their location bar, he wants it to rewrite www.ams.org.

I think this can be done by making e-math.ams the CNAME for the A record of www.ams.org.

Who is Participating?
WalterHConnect With a Mentor Commented:
A cname record may work, but your comment about perpetuating the e-math.ams.org makes me think it is not the right answer since users would not be aware of the name www.ams.org. The alternative is to use an html redirect. With it, the user is aware of the change and eventually you will be able to retie e-math.ams.org. All you need is to have a server at e-math.ams.org that has something like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="5;url=http://www.ams.org"></HEAD>
Please note that our web site is now <a href="http://www.ams.org">www.ams.org. </a>. You will be sent there in 5 seconds.

You can get fancy and have a dynamic error page that preserves the URL tail upon redirection. Ask another question if you need help with this.

QlemoBatchelor and DeveloperCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.