I am just starting my adventure with Azure and have encountered quite a few problems with setting up DNS settings for two domains, one with CPanel as management portal and the other one with DirectAdmin.
CPanel
The domain with Cpanel is setup correctly so that I can visit it at domain.com rather than domain.azurewebsites.net, but had a lot of troubles with receiving e-mails. Through my research I found out that the best solution is to get Google Apps or Microsoft 365 and host the domain on DNSimple. Is that right? Is there a way to sort it out without paying for services such as Google Apps/365 or programming mail receiver and sender in code?
DirectAdmin
I cannot get DNS set up properly at all. At first, similarly to what I did with Cpanel domain, I pointed "www.domain.com." to "www.domain.azurewebsites.net" and "awverify.domain.com." to "awverify.domain.azurewebsites.net". I also point to the IP given by Azure via A record "www" to "Azure IP". It didn't work so I thought I'll make a subdomain and repeat the steps from before but this time for azure.domain.com. Still no luck.
Any idea what I am doing wrong? Apologies if the question is too broad. If need any more information let me know.
it might be because as per rfc it is invalid
domain.com IN CNAME host.cloudapp.net ==> invalid
this article explain how to do it using either CNAME or A
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
there is a proposed DNAME but i havent tested it to be working yet.
Related
There are certain variations to this question but none answered mine.
I have a custom domain aaaskills.mydomain.com pointing to azure website.
This was done by setting CNAME to aaaskills.mydomain.com -> azure website. This is all working fine. Good.
But I want to change the subdomain to skills.mydomain.com, so i updated the existing CNAME to skills.mydomain.com -> azure website. All good.
Now, in my Azure portal i'm trying to add a new hostname for new domain but the azure doesn't recognize the CNAME updated.
Now aaaskills.mydomain.com doesn't work and skills.mydomain.com is bringing up 404 not found and it is suggesting me to update custom domain in azure website.
Am i missing something here?
Domain ownership on azure website was resolved after awverify'ing the sub domain. I added CNAME with records like below to awverify.
CNAME('awverify.subdomain.domain.com','azure website url')
Double check to see if the CNAME and A records are appropriately added in your domain registrar.
Also it take some time for the new host to be reflected in the app's Custom domains page. Try refreshing the browser,Clear the cache and test DNS resolution again.
On a Windows machine, you clear the cache with ipconfig /flushdns.
If the issue still persists, kindly do let us know for further investigation.
I have an Azure SendGrid account that works great. I can send e-mails no problem with the usual API. I need to setup Sender Authentication (2 reasons, first it will help with receiver finding it in their junk and more importantly it will allow me to setup an Inbound Parse).
I have consulted the Sendgrid Documentation (https://sendgrid.com/docs/User_Guide/Settings/Sender_authentication/How_to_set_up_domain_authentication.html), which has explicit instructions, which involve DNS Records (more soon), but unfortunately this isn't working. I have also gone through their troubleshooting. I think it may be an issue with my domain actually being a sub-domain, but I can't figure out how to fix the DNS records to make it work.
I have a "DNS Zone" setup for my site, lets call the site "fake.azurewebsites.net".
Sendgrid instructed me to add the following CNAME records (numbers are scrambled):
em1879.fake.azurewebsites.net > u7381760.wl261.sendgrid.net
(..as well as two others)
So I made those records, and waited over 48 hours for DNS refresh, but Sendgrid will still not verify. I get the error: Expected CNAME for "em1879.fake.azurewebsites.net" to match "u7381760.wl261.sendgrid.net". I also tried their troubleshooting and wasn't able to get an "answer" using the DIG command. I am not using whitelisting or any of the other features that are known to interfere.
In all the documentation, the records usually take the form:
em1879.usersDomain.com and not em1879.userSub.Domain.com, so that could be part of the issue, but I could of course be missing something.
I wanted to copy the answer that I got from Microsoft Tech support. Based on #mdeora comment, I contacted Azure and below was the response. It seems that the SubDomain is the problem, but only specifically for these azurewebsites.net subdomains, it may work fine for other subdomains if you can setup delegation.
"I suspect a delegation issue.
As I understand it, you have created a DNS zone name 'geic.azurewebsites.net'. This has been assigned name servers in Azure DNS (e.g. ns1-08.azure-dns.com etc). You have then created a DNS entry 'em8849' of type CNAME.
The problem is that there is no DNS delegation in place from the parent DNS zone to your DNS zone. In this case, the parent DNS zone is 'azurewebsites.net'. This is owned by Microsoft, and they do not support customers setting up delegations from this domain.
You should:
Purchase your own domain name (e.g. myapp.com). You can do this using the App Service Domains service in Azure (currently in Preview). See https://azure.microsoft.com/blog/app-service-domain/
Create a corresponding DNS zone in Azure DNS
Set up DNS delegation for your DNS zone. See https://learn.microsoft.com/azure/dns/dns-delegate-domain-azure-dns
Create your DNS record. For a Web App, use either a CNAME to the 'xxx.azurewebsites.net' or an A record directly to the site IP address.
For Web Apps, you will also have to register your domain name as a custom domain for the Web App. See https://learn.microsoft.com/azure/app-service/web-sites-traffic-manager-custom-domain-name
If you use App Service Domains to complete step 1, then steps 2 and 3 should be completed for you, automatically.
Good luck!
Jonathan (www.opsgility.com)"
Proposed as answer by Jonathan TulianiModerator Friday, June 15, 2018 9:00 AM
For me, the problem was that Azure automatically includes domain name in the records: Sendgrid asks to add a CNAME record "s1.domainkey.yourcustomdomain.com"; You shoudn't include ".yourcustomdomain.com" in the name because azure automatically includes it. You can check that by editing a record and seeing that it ends up as: "s1.domainkey.yourcustomdomain.com.yourcustomdomain.com". So the record should be only: "s1.domainkey";
It worked for me, but i have a custom domain acquired from azure; maybe it works for azurewebsites subdomains, i'm not sure.
I am trying to find hosting provider for a website that is connected to cloudflare. On Whois Lookup, I get Name Server(s) NOAH.NS.CLOUDFLARE.COM
UMA.NS.CLOUDFLARE.COM
When I use this website http://network-tools.com
I get Attempt to get a DNS server for 104.XX.1xx.3x failed:
I know that cloudflare is not a hosting provider. How can I dig deep and find the actual hosting provider?
If you have some type of abuse related issue with the website in question you'll need to file a complete abuse report at cloudflare.com/abuse
In most cases there isn't an obvious way to identify the underlying hosting provider for a website behind CloudFlare. With a valid and complete abuse report they can put you in touch with the hosting provider's abuse team though.
There is a service called CrimeFlare that helps to resolve the actual IP address behind CloudFlare.
If the website owner has properly set up their website's configuration with CloudFlare. There is no way to acquire the IP through any external means (Whois, DNS, etc)
If you must send an abuse report or DMCA complaint, you can contact CloudFlare through their website and they will be able to forward it on for you.
1. Check hosting history
Services like https://toolbar.netcraft.com/site_report can help you discover the history of hostings for the website.
2. Try Cloudflare IP resolver
https://iphostinfo.com/cloudflare/ (Works as of 2019.12.10, not sure if you can trust this source in a long-term).
Enter your domain name. Click "Search DNS" and you will be
brought to a page that checks for common DNS entries. This tool was
created to help webmasters configure their domains DNS with CloudFlare
properly and is not meant to be used for abuse purposes. If you see
your servers real ip in any DNS entry, anyone can easily find your
real servers ip then.
3. Look for subdomains manualy
You can check and WHOIS the IPs for subdomains. E.g. if www.XYZ.com and XYZ.com are both behind CloudFlare, check for popular subdomains, like:
status.XYZ.com
ns.XYZ.com
beta.XYZ.com
test.XYZ.com
forum.XYZ.com
blog.XYZ.com
admin.XYZ.com
etc..
There is some chance that they will be available directly without CloudFlare.
4. Ask
You can find a way to ask them directly. Or get such information via CloudFlare if you have a legit need to know it. (E.g. by contacting cloudflare.com/abuse as suggested by #xxdesmus).
Law enforcement officials can contact us directly at abuse+law#cloudflare.com. You must include your badge & case number when contacting us to receive a response.
I just made a web app and pointed my custom domain (www.kuistouiuc.com) to kuistouiuc.azurewebsites.net
A Record from kuistouiuc.com to the IP address provided by azure settings
CName from www.kuistouiuc.com to kuistouiuc.azurewebsites.net
The website works fine when I type kuistouiuc.azurewebsites.net or www.kuistouiuc.com but gives me the error in the image when I try kuistouiuc.com
although the kuistouiuc.com is mapped to the IP address in the A Record
Why is this happening.I read the suggested article by the error and didn't help much as I followed exact directions
Although the docs claim it's enough to add A record for yourdomain.com and CNAME for *.yourdomain.com, it's not.
In addition to yourdomain.com, add www.yourdomain.com in Azure portal as well and it will work.
A couple of days ago I set up a new site in Azure and modified my DNS records to point to the site. I am unable to add the custom domains through the management tool or the portal.
The error I see is
"A CNAME record pointing from mysite.com to mysite.azurewebsites.net was not found. Alternative record awverify.mysite.com to awverify.mysite.azurewebsites.net was not found either."
(Changed my real domain to mysite as I'd rather not put that here).
The worst part is when I visit "mysite.com" it is showing me an Azure 404 page saying "The web site owner has registered a custom domain to point to the Microsoft Azure Web Site, but has not yet configured Azure to recognize it.".. I'm trying to configure it but Azure is not letting me!!!
For my DNS i have:
an A-Record pointing to my virtual IP
a second A-Record for www pointing to the IP (I did have www as a CNAME-Record for mysite.azurewebsites.net but that didn't seem to be working)
a CNAME-Record for awverify.mysite.com to awverify.mysite.azurewebsites.net
a CNAME-Record for awverify.www.mysite.com to awverify.www.mysite.azurewebsites.net
I thought maybe it was taking forever to propagate but it's been 2 days now.
Thanks!
Although it usually takes a couple of minutes for DNS records to be available, it can take up to 72 hours for DNS records to propagate. If it is all configured correctly (and looking at the list you posted, it is), it's a matter of waiting for it to propagate.