Solved

DNS CNAME Configuration

Posted on 2016-10-14
3
47 Views
Last Modified: 2016-10-14
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
Comment
Question by:cargex
3 Comments
 
LVL 12

Accepted Solution

by:
Phil Phillips earned 500 total points
Comment Utility
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
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
create an A record pointing to your HA ip
A domainname xx.xx.xx.xxx
cname webmname domainname
0
 

Author Closing Comment

by:cargex
Comment Utility
Thank you Phil.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now