• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 105
  • Last Modified:

DNS CNAME Configuration

Hi Guys,
I have a domain and I'm using the GoDaddy DNS Services.

Currently it is pointing to the Public IP address of 1 Web Server.

I need to setup a Failover configuration with 2 Web Servers (The two are identical servers) and 1 High Availability Server (The HA simply redirects the call to either Server1 or Server2).

The company where I'm hosting has a free failover option, and they tell me this "The failover configuration provides a hostname, not an IP address, so your DNS record would need to be a CNAME to it."

This obviously means that I have to remove the current "A" record that points to the IP address and create a "CNAME" pointing to the new "HA" hostname.

My question for you is:
Is it possible to create a CNAME alias when there is no "A" record?

Thanking you in advance,
Cargex
0
cargex
Asked:
cargex
1 Solution
 
Phil PhillipsDirector of DevOps & Quality AssuranceCommented:
If you're using www.yourdomain.com, then yes - you can just have the CNAME.

However, if you're using the zone apex (yourdomain.com - i.e. without the www), then no. The zone apex  ("naked domain") must be A record.

You have a couple of options though...

1. You should be able to use GoDaddy's domain forwarding feature to redirect yourdomain.com to www.yourdomain.com (with www.yourdomain.com containing the CNAME).

2. Use wwwizer.  It's free and you simply point your naked domain to 174.129.25.170.  It will automatically redirect to www.yourdomain.com (which, again, you can set up with the CNAME).

3. Use cloudflare.  Their base plan is free, and they support a CNAME on the naked domain. You have to switch your DNS over to them though.
0
 
David Johnson, CD, MVPOwnerCommented:
create an A record pointing to your HA ip
A domainname xx.xx.xx.xxx
cname webmname domainname
0
 
cargexAuthor Commented:
Thank you Phil.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now