DNS Redirection

I would like to setup redirection from a server that host a site to a different server that host a landing page in IIS.  

How do I setup a redirection in DNS and on the new site?

OLD URL: https://abc.domain.com
NEW URL: https://portal.domain.com/Test/Landing
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

☁ François Peroux ☁Infrastructure ConsultantCommented:

What is the host server (IIS, Apache ...) where you would like to manage the OLD URL ?

Thanks for the details.
mystikal1000Author Commented:
It is on IIS too.  We would like to update the old URL to the new server or we can use the old server... it doesn't matter...  I don't think.
☁ François Peroux ☁Infrastructure ConsultantCommented:
You can use the IIS http redirect feature. It's available from the IIS Management Console.

You have more details how to configure it on this link:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What were the top attacks of Q1 2018?

The Threat Lab team analyzes data from WatchGuard’s Firebox Feed, internal and partner threat intelligence, and a research honeynet, to provide insightful analysis about the top threats on the Internet. Check out our Q1 2018 report for smart, practical security advice today!

Austin TexasSystems EngineerCommented:
Redirects are not done in the DNS but on the web server, and there are a couple of different kinds. Which you should use is based on what your goal is.

URL Redirect 301 is a permanent type of unmasked redirect. It should be used if your website was permanently moved to the new address and you want it to be indexed by search engines (all traffic and existing SEO value will be routed to the destination URL). It is considered to be the most efficient and search engine-friendly method for webpage redirection. 301 redirects are particularly useful when you have moved your site to a new domain, and you want to make the transition as seamless as possible. (Some DNS hosting services will list this kind in the DNS configuration but it is not really a DNS configuration.)

302 redirect is a temporary type of unmasked redirect. It should be used if a certain URL has been changed to a different address temporarily. Search engines will index the original URL and not the destination URL and display the original URL in search results. 302 redirects are useful when you need to send traffic from one site to another temporarily during some maintenance.

URL Frame (also known as URL masking or URL cloaking) is similar to URL Redirect except that instead of redirecting the client to your web page, the web page is displayed in a frame from the server. With this method, the visitor's browser will display one domain name and another website. URL Frame is bad for SEO.

A CNAME not a redirect type record but often mistakenly used as such. The main difference between CNAME and other redirects is that CNAME is just a DNS record type (similar to A, TXT and other DNS level records) while 301, 302 redirects and URL frames are hosting server-powered redirects. In other words, CNAME is not redirecting anything but only provides the same IP addresses and other DNS records from the domain you create CNAME to. (CNAME can sometimes take some special configuration and if done wrong can have some unintended consequences.)

So tell us, what are you trying to achieve in the long run?
mystikal1000Author Commented:
Thanks all this is what I needed!!!
☁ François Peroux ☁Infrastructure ConsultantCommented:
My pleasure to help !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

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.