Nil Pun
Nil Pun

Reputation: 17383

DNS Redirect Clarification

We have old domain name which we would like to redirect the traffic to new domain

e.g.

old.domain.com --> new.domain.com

Help/Clarification:

  1. What's the best way to achieve this? Read about CName, ARecord, Alias etc., therefore confused which one to use and which scenario.

  2. If we redirect old.domain.com to new.domain.com, then what will IIS/Web Server see as requested host name i.e. still sees old.domain.com or new.domain.com

Upvotes: 0

Views: 41

Answers (1)

Rick Buford
Rick Buford

Reputation: 629

If you want to redirect the traffic, i.e., you want the customer's web browser to show the change from "old.domain.com" to "new.domain.com", then you'll need to insert that redirect at the web server or code level.

If you simply want a request for "old.domain.com" to land on the address for "new.domain.com", then you can use just a CNAME in DNS.

Upvotes: 1

Related Questions