← sources

301 redirect for root (@) dns entry

source: reddit (reddit:AZURE)published 2026-10-28 13:47ingested 2026-10-29 02:41

retained text

Moving our externally hosted website to another provider.  DNS is hosted with Microsoft (M365).  Hosting provider needs me to point www and @ to CNAME entry.  Can only point the @ record for our domain to an IP address.  Hosting provider only supports CNAME hostnames.  Is there an easy way to set up a 301 redirect for our domain to point to a hostname?  Saw references to Azure Application Gateway or Azure Front Door, but wasn't sure if those would be adequate or if I'm missing something else.

EDIT:  It appears there is Azure DNS as well which may provide aliases.  I may look into that.

document fetched 2026-10-29 00:40 · canonical https://reddit.com/r/AZURE/comments/1xhojan/301_redirect_for_root_dns_entry