23
votes
Do I need a certificate to redirect via CNAME?
Neverever's answer is correct. You do need an SSL certificate. I wanted to add that it is because there is no such thing as a CNAME redirect.
A CNAME is not a redirect. A CNAME instructs the ...
12
votes
Accepted
Do I need a certificate to redirect via CNAME?
Yes, you'll still need an SSL certificate for abc.example.com
Due to the nature of CNAME redirection, when you type abc.example.com in the browser, the URL stays abc.example.com, and this is where ...
7
votes
Can a website have multiple CNAME?
Yes.
In fact, you probably already have multiple CNAME records. (eg. you'll probably already have one for www.) However, you can't have the same name pointing to different canonical names (one to ...
5
votes
Accepted
CloudFlare DNS: How to setup a GitHub Repository to a custom sub domain?
This can easily be done by adding a few settings to CloudFlare and then later GitHub.
7 Steps on adding a subdomain to CloudFlare
Login to Cloudflare
Use the drop-down menu in the upper left of your ...
5
votes
Creating an A record and then a CNAME to point a subdomain to a different server gives an error message
A and CNAME both are types of DNS records, that can be applied to a domain name.
But they are mutually exclusive:[1]
A resolves a domain name query to an IP address,
CNAME resolves it to an other ...
4
votes
Can a website have multiple CNAME?
Yes, no and no.
Yes, You can have plenty of unique cnames. E.g. www. and preview. of the domain example.com are allowed. You can have as many as you want, but:
No, you can not have multiple CNAMEs ...
4
votes
Accepted
Accidently changed CNAME entries for "autodiscover" and "_domainconnect", will that hurt my website?
You don’t need either of these resource records for your website to work correctly.
You only need the autodiscover resource record if you’re using the email service provided by 1und1.de with your ...
4
votes
Why is CNAME pointing to IP instead of URL?
Yes, this is the default behavior. The web server should be configured to serve from the correct document root when the request comes from a specific subdomain.
For example, if you use apache, you ...
3
votes
Accepted
Will client sites on clientsite.mydomain.com affect SEO at www.mydomain.com?
Will googling for "mydomain.com" also give results for
"petterson.mycompanydomain.com"? (making my client an unnecessary
competitor)
Not after you set up a 301 redirect. If it's indexed right now,...
3
votes
Accepted
Heroku apps, DNS and MX records
Putting a CNAME record at the root of your domain breaks email. If you want email to work, you just can't do that.
Heroku has instructions for this case. You need to use a DNS host that supports "...
3
votes
Accepted
Our alias domains are showing up in the search results, how can we get it to show just our main domain?
Canonical Tag is only a suggestion to search engines. They may or may not follow it. Please correct me if I am incorrect, but I am assuming that your domain names are using different languages? If not,...
3
votes
Accepted
Firebase Custom Domain - add admin subdomain?
The mistake here is not understanding the what A and CNAME records support:
A records will only support IP addresses.
CNAME records will only support valid domains.
Therefore using a full URL path ...
3
votes
Accepted
How can I create a Google Site and use it with a Google Domain?
It seems like you did it backwards and missed a few steps. Here are the full instructions from start to finish.
In Google Domains:
Click My domains in the navbar and then click the domain name.
...
3
votes
redirect www to non-www (CNAME needed?)
To implement a redirect, your www subdomain must resolve to a web server that issues a redirect to your non-www domain. It doesn't matter whether you use A records or CNAME records to make that ...
3
votes
CNAME pointing towards a Heroku page isn't working
You can't just set a CNAME and hope for the best when it comes to Heroku. You actually need to log into the Heroku admin panel and configure the CNAME record that you are creating so that Heroku knows ...
3
votes
My root domain is not resolving to my server, but the www. subdomain works fine
To resolve your host name to an IP address you need either an A or CNAME record for it. For a bare domain, it has to be an A record, a CNAME only works for sub-domains. You don't have an A record ...
3
votes
Does pointing a URL via CNAME to another domain redirect via endpoint?
A CNAME is not a redirect. When you use a CNAME, the traffic for both domains is sent to the same IP address. The behavior of the site that users see when you use a CNAME record is identical to ...
3
votes
Do CNAME subdomains redirect to their target?
No, a CNAME does not cause a redirect. A CNAME is a DNS alias that says "The server for this host name is located at the same IP address as the server for this other host name." It is ...
3
votes
Accepted
CNAME works for nslookup but not curl
The greatest benefit I derive from StackExchange is that asking the question forces me to state the problem in detail.
In this case, I through in the parenthetical “(Cloudfront)” solely for ...
3
votes
Accepted
Do I need to change CNAME record for email redirecting?
You are both right and wrong.
For email delivery to work, DNS wise all that is required is a valid MX record (but an A record would work absent an mx record). That only covers the MTA though.
In ...
3
votes
Accepted
Should I use CNAME or Apache virtual host for www?
If the URL is changing from example.com to www.example.com for users, then there IS an actual redirect happening. However it has nothing to do you with CNAME record, because CNAMEs can't cause ...
3
votes
Mirror a certaing page on multiple domains
There is a LOT more to this then using a CNAME record. A CNAME record will only indirectly convert a subdomain to an IP address.
In addition to setting up a CNAME record you will need to modify the ...
2
votes
How to add MX record when CName exists (BigRock)?
This is a very helpful warning. It is there because of a weird rule in how mail sending is implemented. If there is a CNAME entry for the domain apex, all MX records are ignored and mail does ...
2
votes
How to connect my custom domain to github.io
I see the question is rather old, but anyway,
The name of your repository should be "username.github.io", not "repositoryname"
Github documentation you want to follow step by ...
2
votes
Accepted
DNS A/CNAME for two domains with subdomain - how to setup?
So, you want 9juli.splitpoint.dk content to be shown as 9juli.dk, correct?
1: configure 9juli.dk as alias to 9juli.splitpoint.dk if your DNS allows that, otherwise use the same IP as 9juli.splitpoint....
2
votes
Accepted
How to use CloudFlare and web host at same time?
For anyone else searching for this,
You can change your dns from Freenom to CloudFlare (or whatever DNS you want)
by going to Manage domain > Management Tools > Nameservers and use CloudFlare's ...
2
votes
What should be 'Host' field while setting up CNAME record to point my domain name to free hosting
Your free hosting site needs to support custom domain names. It isn't enough to point the DNS for your domain name to their server. You also need to tell your host about your domain name and they ...
2
votes
For SEO which should I use faster performing A records, or can I use CNAME?
This doesn’t matter at all in respect to SEO. SEO means having a site that is user friendly (speed, ui/ux), content that matters to a user depending on intent and lastly but most importantly - a ...
2
votes
Does it matter whether a CNAME is specified with fully qualified domian or not ( "www" vs "www.example.com")?
It does not matter on an operational level.
It just depends on the UI you have to manage records.
On the most bare bone case, that is the textual zonefile, you can always write records as fully ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cname × 180dns × 116
subdomain × 40
domains × 38
redirects × 19
web-hosting × 17
godaddy × 16
nameserver × 14
seo × 12
301-redirect × 7
email × 7
cpanel × 7
cdn × 7
cloudflare × 7
dns-servers × 7
github × 7
heroku × 7
no-www × 6
mx × 6
google × 5
htaccess × 5
url × 5
tumblr × 5
google-sites × 5
wordpress × 4