Azure DNS provides out-of-the-box basic support for forwarding your domain. Unfortunately, it's missing important features like HTTPS and analytics.
When your redirect is set up at Azure DNS, no SSL certificate is installed on the domain. This results in SSL errors when visiting the domain via HTTPS.
So how do you make your site secure with HTTPS when using Azure?
With the help of redirect.pizza! redirect.pizza automatically installs SSL certificates on your website and automatically renews them to ensure they’ll never expire. And there’s more to benefit from. You can also redirect your apex domain to the www. version of your domain in a few clicks. Or vice versa.
In this walkthrough, we’ll show you have to set this up in just a few easy steps. Let's get started!
Step 1: Create a redirect.pizza account
Get started today by creating an account: https://redirect.pizza/register.
Step 2: Add your domain to redirect.pizza
Add your domain you wish to redirect. For our example, we have a domain with Azure DNS 'redirect-pizza-forward.xyz'. Add the domain to the 'Source URL' field. We recommend adding www & the apex (non-www).
You see the DNS 'checking' as the detected & required values are different.
Step 3: Navigate to Azure DNS
To allow redirecting via redirect.pizza, we need to make a DNS change at Azure DNS.
Login with your Azure DNS credentials and navigate to 'DNS-zones' and click on your domain.
Step 4: Changing the DNS
We are now ready to change the DNS. You will probably see a screen that looks something like this:
Before adding the correct DNS records, make sure any existing A, AAAA or CNAME record for 'www' and '@' are removed. All other records may remain intact.
Then add the following records.
- Record with Type 'A' Name '@' and IP '89.106.200.1'
- Record with Type 'CNAME' Name 'www' and Alias 'edge.redirect.pizza.'
Your screen should now look like this:
Step 4: DNS verification in redirect.pizza
The DNS changes have been made! This takes some time before the internet picks up these changes. In most cases, it should be done within a few hours, depending on the TTL set on those records.
redirect.pizza will automatically keep checking the DNS records. If it's detected to be correct, an SSL certificate will be automatically requested & installed.
Closing: redirect.pizza is now set up with automatic HTTPS!
Now you’re all set! You've successfully set up redirect.pizza with Azure DNS. The domain now has full HTTPS support and is redirecting via redirect.pizza. This means all your URLs will be automatically redirected to the HTTPS version of your website. All your SSL certificates will be automatically renewed, so you’ll never have to worry about the security of your website again! This is all part of our Automatic HTTPS feature.
Optional: redirect all pages to the apex or www. version of your website.
Once you’ve got redirect.pizza up and running, take a moment to consider how to get the most out of our service! You can, for instance, redirect your apex domain, also called your naked or root domain, to the www. version of your domain. (To learn about the benefits of this, take a look at our use case!). You can also redirect the other way. In just a few clicks, you can redirect your www. subdomain to your apex domain! (To learn more about how to implement this type of redirect, check out our support page).
Consider subscribing to one of our paid plans to help us out! ❤️