Scenario - I have domain with name *amit.com*, If I enter *mail.amit.com* on browser, It should redirect to *office.com*.

Amit Badgujar 46 Reputation points
2021-03-22T16:10:31.057+00:00

Scenario - I have domain with name amit.com, If I enter mail.amit.com on browser, It should redirect to office.com.

Background research - I tried CNAME record with host: mail and values with office.com, but it does not work.

Could someone please tell me what should I entered in CNAME record ? what is the host = ? and values = ? within CNAME record ?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,592 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,021 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,350 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Candy Luo 12,656 Reputation points Microsoft Vendor
    2021-03-23T06:07:51.387+00:00

    Hi ,

    CNAME record only points your domain or subdomain to the IP address of the destination hostname, it will not redirect anything.

    Scenario - I have domain with name amit.com, If I enter mail.amit.com on browser, It should redirect to office.com.

    In your scenario, you need to set website redirection. You can configuring website redirection in IIS.
    Since IIS is currently not supported in the Q&A forums, if you want to know more details about website redirection ,you can ask it in IIS forum:

    https://forums.iis.net/

    Best Regards,
    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments