Questions tagged [cname]

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.

This is typically used when running multiple services (like an FTP server and a webserver; each running on different ports) from a single IP address. Each service can then have its own entry in DNS (like ftp.example.com and www.example.com).

877 questions
173
votes
3 answers

How to rename AWS S3 Bucket name

After all the tough works of migration etc. Just realise that If need to serve the content using CNAME (e.g media.abc.com). The bucket name need to start with media.abc.com/S3/amazon.com to ensure it work perfectly. Just realise that S3 don't allow…
Carson Lee
  • 2,133
  • 3
  • 18
  • 23
144
votes
5 answers

Heroku/GoDaddy: send naked domain to www

I am trying to figure out how to get the naked domain for my website to redirect to the www domain. I am using Heroku and have the domain from GoDaddy. Because of Heroku, my A records are already set up as: @: 75.101.145.87 @: 75.101.163.44 @: …
Andrew Latham
  • 5,382
  • 12
  • 39
  • 83
121
votes
8 answers

How to overcome root domain CNAME restrictions?

We are hosting many web applications for our customers. As is obvious they want to use their own domains to refer to those applications, usually they want that any user that either type http://www.customer1.example or http://customer1.example goes…
Geo
  • 8,329
  • 13
  • 61
  • 90
77
votes
3 answers

Multiple GitHub Pages and custom domains via DNS

I want to have one user page and multiple project pages hosted by GitHub Pages but available under ONE custom domain (with subdomains for each GitHub Pages repository, of course). So my goals are as follows: One user page…
Florian Wolters
  • 3,273
  • 3
  • 25
  • 47
68
votes
1 answer

DNS redirect domain.com to www.domain.com

I have performed a web search for the question but totally disappointed with the results. The case is to redirect all requests to domain.com to subdomain www.domain.com. So what I have: www.domain.com - main website domain, all client requests…
Maksim
  • 857
  • 2
  • 7
  • 6
54
votes
1 answer

CNAME SSL certificates

If I go to www.example.com which has an image on the page that links to assets.example.com which is a CNAME for assets.example2.com. Will I get the green lock even if assets.example2.com does not have a certificate, but assets.example.com does?
maletor
  • 6,598
  • 7
  • 38
  • 60
44
votes
7 answers

How to redirect siteA to siteB with A or CNAME records

I have 2 hosts and I would like to point a subdomain on host one to a subdomain on host two: subdomain.hostone.com --> subdomain.hosttwo.com I added a CNAME record to host one that points to subdomain.hosttwo.com but all I get is a '400 Bad…
Peter Coulton
  • 50,723
  • 11
  • 51
  • 70
43
votes
2 answers

Why isn’t it possible to use a CNAME redirect with HTTPS

This Google Storage documentation page states that You can use a CNAME redirect only with HTTP, not with HTTPS. But I cannot see any reason for that. Can anyone explain me why?
qdii
  • 11,387
  • 7
  • 54
  • 107
30
votes
1 answer

Subdomain of website for Github pages project

I have a Github project, github.com/jeti/matrix, and I set up a "Github pages" site for the project so that it is accessible here jeti.github.io/matrix/. That is all configurable through Github. Now, I would like to add a subdomain of my personal…
bremen_matt
  • 5,606
  • 3
  • 33
  • 70
27
votes
8 answers

How to host an entire site on Google Cloud Storage?

Is there any way to host an entire site on Google Cloud Storage? That is, map a bucket directly to a top level domain. E.g. create a bucket called mysite.com, then when the user visits mysite.com serve the content directly from cloud storage? I see…
rossmckegney
  • 460
  • 1
  • 4
  • 9
26
votes
2 answers

How to fix: Domain does not resolve to the GitHub Pages server. Error in Github Pages for custom domain setup with Enforce HTTPS Enabled?

So I am trying to get a custom domain to work with my github pages user site. I have followed pretty much the standard procedure for doing this as follows: (recommended by github here too:…
Atif Ali
  • 726
  • 1
  • 6
  • 16
26
votes
2 answers

Does the * in a CNAME record take priority over explicit subdomains?

I have a set of subdomains defined on my domain like this: CNAME sub1.example.com -> sub1.herokuapp.com CNAME sub2.example.com -> sub2.appspot.com CNAME www.example.com -> example.herokuapp.com Now I'd like to add CNAME *.example.com ->…
Sudhir Jonathan
  • 15,629
  • 12
  • 60
  • 85
25
votes
4 answers

Underscore in CNAME required by SES not allowed by registrar

Amazon's SES mail service requires DKIM authentication. One step of authentication is to add a CNAME record to your domain's DNS. Unfortunately the CNAME record has an underscore. My registrar, Network Solutions, does not allow underscores in…
csi
  • 8,059
  • 8
  • 55
  • 78
23
votes
1 answer

Cloudfront CNAME vs DNS CNAME

I've set up a distribution but I'm a bit confused about the purpose of the CNAME that can be set up in Cloudfront. Assuming my assigned Cloudfront domain is d27fwrff25jcfdafa.cloudfront.net I can assign the "nice" CNAME static.example.com using the…
Paul
  • 625
  • 6
  • 19
23
votes
2 answers

When my CNAME record redirects to my heroku app, it says there is no such app.

My app works fine on tradespring.heroku.com (I think. Well I can see it perfectly anyways). So I entered a CNAME record that redirects my domain(tradespring.net) with alias www to tradespring.heroku.com. But then when I enter www.tradespring.net it…
BigBoy1337
  • 3,709
  • 12
  • 55
  • 101
1
2 3
58 59