Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CNAMEs all the way?

Posted on 2011-03-10
3
Medium Priority
?
430 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 40

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

926 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