- Newest
- Most votes
- Most comments
Hi there, A CNAME record on its own won't redirect one domain to another, especially if there's HTTPS involved. When you try to access http://servicenow.labs.mycompany.com or https://servicenow.labs.mycompany.com, the first thing that happens in your local PC is DNS resolution. Assuming you have created the CNAME record for servicenow.labs.mycompany.com to dev12345.service-now.com, your local PC will now attempt to resolve dev12345.service-now.com to receive an IP address, as eventually this is what it needs to connect at the IP level. The connection will then be sent to the IP address of service-now, but the HTTP Host header will still be servicenow.labs.mycompany.com. So besides creating the CNAME, you also need to make sure service-now is actually expecting this Host header and has an SSL/TLS certificate to reply with.
Hope this clarifies your question. -Carlos
Ref: https://aws.amazon.com/premiumsupport/knowledge-center/route-53-redirect-to-another-domain/
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago