Questions tagged [cname-record]

A CNAME record or Canonical Name record is a type of resource record in the Domain Name System (DNS) that specifies that the domain name is an alias of another, canonical domain name.

Filter by
Sorted by
Tagged with
8 votes
3 answers
7k views

Best practice for placing DNS records and subdomains

Say I have mydomain.com: Is it better to use option A: [A] mydomain.com 123.45.67.89 [A] www.mydomain.com 123.45.67.89 or option B: [A] mydomain.com 123.45.67.89 [CNAME] www....
nightrod's user avatar
  • 113
8 votes
2 answers
2k views

Will an MX record "follow" a CNAME record?

I have a situation I'm trying to work through that I'm not entirely sure how to solve. Here's the situation: I have a domain, let's say sub.otherdomain.com, that I want to set up e-mail addresses on,...
Ryan Brunner's user avatar
8 votes
2 answers
10k views

Resolving a CNAME - who looks up subsequent A record - resolver or server?

When a resolver looks up a CNAME, the resolver apparently first sends an A record request to the DNS server. Is the DNS server supposed to figure out that the request is actually for a CNAME, or is ...
wsanders's user avatar
  • 181
8 votes
3 answers
22k views

Is it valid to have SPF records for a domain that is a CNAME?

I read that it's not valid to have a CNAME for a domain that also has its own SPF, because all records are taken from the domain that the CNAME points to. However, this doesn't seem to be what ...
Danny Tuppeny's user avatar
8 votes
1 answer
1k views

Amazon S3 appears to be blocking cloudflare IP addresses. How do I fix it?

I have static content that is being served by Cloudflare. Cloudflare points to Amazon S3 to pick up the static content and serves it via a CNAME (cdn.mydomain.com). The bucket is setup properly and ...
JStark's user avatar
  • 181
7 votes
4 answers
12k views

Why are Amazon EC2 Elastic IPs encouraged to be used with a CNAME rather than an "A" record?

I am setting up a server on EC2 that will be used by people that will be freaked out when they see ec2-111-111-111-111.compute-1.amazonaws.com in the URL bar. I know this would be solved by using an ...
Canuk's user avatar
  • 183
7 votes
3 answers
4k views

A Record VS. Cname Round N

Experienced DNS Admins please help me understand... I run a small DNS server in a development environment that runs resolution for at most 5 domain names at any one time. My question stems from a ...
Patrick R's user avatar
  • 2,975
7 votes
2 answers
6k views

Is subdomain (CNAME) slower than using original address?

I am no expert at this at all, so I am wandering is there a difference in speed, etc. when using some subdomain (CNAME record) over the original address? For example, when using CDN like Amazon S3. ...
bosniamaj's user avatar
  • 175
7 votes
1 answer
54k views

Using a CNAME record to redirect a subdomain to another website?

Under my current understanding, I am able to use CNAME records to redirect users to another domain. For example, I own 'mydomain.com'. When a user goes to 'keep.mydomain.com', they should be ...
juggling_pro's user avatar
7 votes
3 answers
442 views

What's actually requested when alias is set up in Apache with CNAME?

I have many sub-domains set to my development machine like the following. test1.example.com => 192.168.0.7 test2.example.com => 192.168.0.7 ... (about 30 domains like this) I have many sites on my ...
Sam Kong's user avatar
  • 933
7 votes
1 answer
2k views

Is stage.*.example.com valid for a wildcard DNS CNAME?

We are creating a web app that will have vanity subdomains such as user1.example.com. Since we'll have many subdomains, they need to be dynamic. We want to have a public "stage" area where we can test ...
Linkadvitch's user avatar
7 votes
1 answer
4k views

Wildcard 'A' record overriding CNAME record

I have a Wildcard * A record for self-registration of subdomains by users on our web app. All works fine. I now need to set up an alias for support.mydomain.com to point to mydomain.freshdesk.com. ...
user avatar
7 votes
2 answers
12k views

Setup CNAME for subdomain issue

I would setup for this: user go to test.example_site1.org test.example_org1.org it's a CNAME of test.example_org2.org user will see the page of test.example_org2.org On the example_org2.org server I ...
Fred Collins's user avatar
7 votes
2 answers
18k views

What happens if i have both A record and CNAME record on my domain

Let's suppose i have a domain which DNS contains 2 records: a "A" record which contains an IP Address a "CNAME" record which contains another domain (alias). Let's suppose this ...
Bob5421's user avatar
  • 401
6 votes
2 answers
35k views

SSL encryption with CNAME redirect

Here is my current architecture: I have a simple site hosted in the cloud that needs to be served from my company. Thus, mysite.com has a CNAME redirect to 1234.cloud.com. I understand that the SSL ...
Johnny D's user avatar
6 votes
1 answer
2k views

TXT record is forwarded because of CNAME

I want to verify my domain name with google apps, by using DNS verification. This involves making a TXT record with a generated value by google. However, I have a CNAME record for the "mydomain.com". ...
Jaap's user avatar
  • 377
6 votes
1 answer
12k views

I get a 403 when requesting a JS file from CloudFront

This is new to me so please excuse me if I have no idea what I'm talking about (: I'm trying to set up my own CDN with CloudFront and S3 through a subdomain by adding a CNAME to that subdomain to ...
Roland's user avatar
  • 163
6 votes
2 answers
18k views

Sendmail to local domain ignoring MX records (part 2)

I have the exact problem, like in this post: Sendmail to local domain ignoring MX records . I am also using an email provider like GMail For Your Domain (which stores your mail and manages it). I am ...
Vladislav Rastrusny's user avatar
6 votes
3 answers
32k views

Will kerberos work with CNAMEs if I have the SPN created for the A record as well?

We are currently setting up a SQL 2012 environment and it will be used for storing data that will be accessed by SSRS in sharepoint integrated mode. We will be using Kerberos for authentication. ...
AnthonyM's user avatar
  • 161
6 votes
2 answers
5k views

SSL, CNAME, and multiple domains

Say I have an SSL Certificate for a super cool site that I offer, like https://secure.coolsite.com/ (Not my site, just an example). Then lets say I had a customer who wanted to have a CNAME to my site ...
DarthCaniac's user avatar
6 votes
3 answers
11k views

Ngrok custom hostname add cname to subdomain

I have xyzfoo.com domain. I created a DNS CNAME record which points to ngrok.com I have my app running locally on http://127.0.0.1:5000/ but not running remotely on zyxfoo.com Does a subdomain need ...
phillipsk's user avatar
  • 185
6 votes
2 answers
3k views

Hostname not eligible for App Service Managed Certificates creation

I have an Azure App Service Plan shared by two App Services. For the first (www.rachel-lumsden.net) I have added an "App Service Managed Certificate". This has enabled secure requests to the site. I'...
tr0users's user avatar
  • 423
6 votes
3 answers
11k views

Wildcard CNAME with GoDaddy DNS Manager

I'm having some issues with GoDaddy DNS that I thought I'd maybe share with you all before moving to another provider. I have an application that uses subdomains for users and is hosted on Heroku.com....
Kombo's user avatar
  • 161
5 votes
1 answer
2k views

Replacing an MX record with a CNAME that doesn't match the hostname

Today we have 5 companies that all use Google for email services example1.com. 3w IN MX 10 mail.Google.com. example2.com. 3w IN MX 10 mail.Google.com. example3.com....
makerofthings7's user avatar
5 votes
1 answer
966 views

Some visitors cannot access my website

I am receiving some reports from different clients in Spain, US and France that they cannot access my website, https://www.ultreyatours.com. They get a ERR_NAME_NOT_RESOLVED error saying the server ...
NinilieM's user avatar
5 votes
2 answers
6k views

CNAME record for Amazon S3 -- any drawbacks?

I'd like to make a CNAME record for my Amazon S3 domain, to have nicer URLs. There's not much discussion of this out there on the web, and nothing at all in the Amazon documentation (unless I'm ...
John Bachir's user avatar
  • 2,364
5 votes
3 answers
6k views

CNAME to AWS Public DNS?

Instead of assigning an Elastic IP to an EC2 instance, can I just CNAME a URL to the instance's public DNS name?
BenGC's user avatar
  • 1,785
5 votes
4 answers
6k views

Must the authoritative DNS server for a domain allow recursion to allow CNAME records pointing to other domains?

So I've got a domain registered with Dreamhost, which apparently does not do recursive lookups, and an app on Heroku. Heroku apps are always configured to use a CNAME record to proxy.heroku.com. So: ...
scotchi's user avatar
  • 153
5 votes
3 answers
2k views

CNAME versus an additional A&AAAA record

So, let us say that we have set-up an A record and an AAAA record for @, and for www we have set-up a CNAME pointing to @. When a new visitor visits example.com and the webserver sends a 301 ...
Xen's user avatar
  • 468
5 votes
2 answers
6k views

Redirecting to the IP of an amazon EC2 instance

As you know amazon EC2 instances get an address like: ec2-72-44-40-153.z-2.compute-1.amazonaws.com If I have the domain example.com, is there any way that I can make bob.example.com or preferably ...
user avatar
5 votes
1 answer
2k views

Can I set a CNAME to point to the CNAME of a separate domain [duplicate]

I want to insulate myself from changes to the domain of the server we're using. For example, right now we need to point to: www.oursite.com. IN CNAME www.myserver.com. But the service we're ...
nzifnab's user avatar
  • 153
5 votes
4 answers
836 views

should Apex domains (and records) be avoided?

I'm building an app that is hosted on Heroku. Heroku suggests that Apex Domains are a Very Bad Idea -- they suggest using CNAME records and a workaround service like Zerigo or DNSSimple. However, ...
jcollum's user avatar
  • 436
5 votes
2 answers
3k views

Best CNAME TTL strategy for fallover switching

I've recently been thinking about the TTL of our DNS. We have A records for our servers and then CNAME records for the customer facing names. The www.example.com CNAME points to server-01.example.com ...
Phil Hannent's user avatar
5 votes
3 answers
5k views

How can I list the cname location of a printer in Active Directory?

I'm working on a new print server running Windows Server 2008 R2. The shared printers will be listed in Active Directory. The print server has a host record with one name, but I want to users to ...
Joel Coel's user avatar
  • 13k
5 votes
2 answers
8k views

Why can I resolve this hostname but not a cname to this hostname?

If I run dig against a hostname, I get the according cname, however I get an NXDOMAIN error (non existent domain). if I run dig against the cname I got, I can resolve it to an IP address successfully....
The Shurrican's user avatar
5 votes
2 answers
613 views

Can I use a CNAME to point to a 3rd Parties NS Servers? [duplicate]

Possible Duplicate: In DNS can an IN NS point to a CNAME? I am in the process of migrating hosting providers. Currently I have significant number of domains pointed at my current NS servers. My ...
Luke McCallum's user avatar
5 votes
2 answers
2k views

Point a subdomain with CNAME to a DDNS subdomain?

I got a Synology NAS, with different virtual hosts, so i got a DDNS (user.synology.me), let's say the virtual hosts are server1, server2 and server3, so i can access them using server1.user.synology....
Spider351's user avatar
5 votes
4 answers
8k views

Dynamic subdomain routing

I asked this question over at stackoverflow, but got very few views: https://stackoverflow.com/questions/2284917/route-web-requests-to-different-servers-based-on-subdomain Perhaps it's more ...
Nader's user avatar
  • 151
4 votes
5 answers
4k views

Use of DNS CName Security

I was told by our DNS administrator that the use of CNAME records was not "best Practice" and was a security vulnerability. is this true? I have always used CNAME records to reduce the management ...
Jason Horner's user avatar
4 votes
2 answers
19k views

Can I have a CNAME and an A-record for the same domain name?

I have a dedicated domain mydomain.com and I have a Windows Azure service that has to send email from addresses @mydomain.com. I found a mail service that agrees to send email "on behalf" of my domain....
sharptooth's user avatar
  • 2,739
4 votes
1 answer
3k views

CNAME for subdomain does not work - 404 Error

I have a subdomain hosted right now something like: subdomain.domain.com I need cdn-subdomain.domain.com to point to that same subdomain. However, when I create this DNS entry: Record Type: CNAME ...
user avatar
4 votes
2 answers
30k views

how do you add an A record for a root domain

this seems really simple, but I can't figure it out. I'm using xname.org since it's free and I own a bunch of domains spread over a few different registrars. The setup I desire is very simple: one A ...
nbv4's user avatar
  • 603
4 votes
2 answers
2k views

How does my registrar (Namecheap) let me set up a CNAME record on the apex domain?

Namecheap seems to let me create a CNAME record on the apex domain, which I thought was contrary to the definition of a CNAME record: It works (correctly loading up my static site from S3). Weirdly (...
tobek's user avatar
  • 167
4 votes
1 answer
8k views

DNS to direct url with path to another domain

I run a website hosted by Bigcommerce at https://www.example.com. I also have a Wordpress blog at http://blog.example.com. I would like my blog to be accessible from https://www.example.com/blog. Is ...
flyingL123's user avatar
4 votes
2 answers
4k views

Cloudflare integration with Azure websites

On cloudflare, I have given below details for example.com A record pointing to Azure IP www CNAME record to example.azurewebsites.net Cloudflare routing is working for example.com and www.example....
Faiz Mohamed Haneef's user avatar
4 votes
4 answers
6k views

Are there DNS servers supporting ALIAS type for apex records?

DNSimple and AWS Route53 are supporting ALIAS records that allow similar functionality to CNAMES for @ (Apex) records in DNS. I'm running a DNS server (Bind) that is currently hosting around 1500 ...
Priit's user avatar
  • 141
4 votes
1 answer
37k views

How to setup an alias in IIS?

I'm a SharePoint developer, so please, bear with me here and I'll provide more information as needed since I'm not sure what I need to specify here! I'm trying to setup an alias in IIS. I have a ...
Michael A's user avatar
  • 175
4 votes
1 answer
644 views

DNS CNAME Resolution - which IP would be returned?

I saw this example of a CNAME record, but I don‘t know what IP would be returned and couldn‘t find an answer. I‘m looking for the IP of pc2.an.example.com and the mail server of an.example.com Zone ...
retrok's user avatar
  • 43
4 votes
2 answers
11k views

TeamSpeak Redirect via CName &| SRV Record? [closed]

Question I have a TeamSpeak server that is hosted on a GameServers account under the domain ts4.gameservers.com with a port number of 9102. I have setup a CName that redirects ts.valhallashalls.com ...
Mark Tomlin's user avatar
4 votes
1 answer
3k views

How to create a catch-all subdomain in IIS 7.5?

How can I create a catchall for any unspecified subdomains of website.com in IIS 7.5 on Windows Server 2008 RC2? I have already configured a CNAME DNS entry for *.website.com pointing to website....
smartcaveman's user avatar

1
2
3 4 5
15