Solved

CNAMEs all the way?

Posted on 2011-03-10
3
417 Views
Last Modified: 2012-05-11
So I'm not especially happy with my current webhost with whom we have scores of webservers with a managed hardware setup and no control over IP assignment.

Since I won't be able to take out a new supplier and reassign the IPs, I was wondering about the following scenario.

What if rather than pointing my domains to the 'A' records, I set up a bunch of domains e.g. 12-34-56-78.mydomain.com pointing at the infrastructure IPs and then CNAMEd all domains to the relevant IP?

That way I can migrate sites to a new supplier by lowering the TTL on 12-34-56-78.mydomain.com and repointing it to the new supplier.

Will this work? Will I hit problems?
0
Comment
Question by:Borgs8472
  • 2
3 Comments
 
LVL 39

Expert Comment

by:noci
ID: 35109911
That should work. In fact that's the way it should have been setup anyway.
As with every A records there should be a PTR record, and you can have only one PTR record for an address....

0
 
LVL 4

Accepted Solution

by:
Borgs8472 earned 0 total points
ID: 35117665
I've finished my research. Because you can't CNAME the @ record, cunning must be employed.

Given you're running a typically customer1.com, www.customer1.com setup with www.customer1.com being the primary. First off you create a customer1.yourhostingdomain.com address that points to the server where you want it.

Then you CNAME www.customer1.com to customer1.yourhostingdomain.com

Importantly, you must perform the 301 redirect from customer1.com www.customer1.com on a DNS server you control. In my case I've asked in my DNS provider (MelbourneIT) can support this.

If so, DNS setup becomes a little complex as you have to point the A record to your DNS provider (or some other hosting) and CNAME the www record, but after doing so you have full control of where you want to point the website, despite not being the DNS host.

Also, yourhostingdomain.com becomes a single DNS point of failure for your whole operation so it must be highly robust.
0
 
LVL 4

Author Closing Comment

by:Borgs8472
ID: 35154525
Solved own issue
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

19 Experts available now in Live!

Get 1:1 Help Now