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).

917 questions
227
votes
3 answers

How to rename AWS S3 Bucket

After all the tough work of migration etc, I just realised that I need to serve the content using CNAME (e.g media.abc.com). The bucket name needs to start with media.abc.com/S3/amazon.com to ensure it works perfectly. I just realised that S3…
Carson Lee
  • 2,673
  • 3
  • 20
  • 23
146
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,982
  • 14
  • 47
  • 87
127
votes
10 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,663
  • 13
  • 63
  • 93
88
votes
3 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
  • 2,186
  • 2
  • 12
  • 23
84
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,820
  • 5
  • 35
  • 55
80
votes
1 answer

DNS redirect domain.example to www.domain.example

I have performed a web search for the question but totally disappointed with the results. The case is to redirect all requests to domain.example to subdomain www.domain.example. So what I have: www.domain.example - main website domain, all client…
Maksim
  • 1,007
  • 2
  • 8
  • 6
66
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
  • 7,072
  • 7
  • 42
  • 63
54
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
  • 12,505
  • 10
  • 59
  • 116
47
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
  • 6,902
  • 7
  • 42
  • 90
46
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
  • 54,789
  • 12
  • 54
  • 72
28
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
27
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
  • 16,998
  • 13
  • 66
  • 90
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
  • 9,018
  • 8
  • 61
  • 81
25
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
  • 4,735
  • 16
  • 70
  • 138
24
votes
2 answers

Is Root domain CNAME to other domain allowed by DNS RFC?

We are hosting the page of many of our customers. We want to be able to provide our customers with a subdomain of our own domain like customerpages.ourdomain.com so they can create a CNAME to this subdomain. www.customer1.com CNAME…
Geo
  • 8,663
  • 13
  • 63
  • 93
1
2 3
61 62