Solved

DNS - Create cname to map url

Posted on 2010-08-12
13
1,222 Views
Last Modified: 2012-05-10
Hi Guys,

I need to create a cname to our url to an off site url in DNS.

Regards,
ABBEtech
0
Comment
Question by:abbetech
  • 6
  • 4
  • 2
  • +1
13 Comments
 
LVL 3

Expert Comment

by:wmcdon7160
ID: 33421727
For DNS handled internally or externally?
0
 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33421750
Need more details:
   What OS in the DNS server?
   A CNAME record is an alias.  So you have an A record which is the host record.  It is usually the actual server name (like iis-server).  You would then make a CNAME of www that points to iis-server.  From your question, I can't determine what you are trying to do.
0
 
LVL 1

Author Comment

by:abbetech
ID: 33422099
External, windows server 2003 r2 standard.

Within our DNS, I need to created a cname to map this url abbe-lib.org/digital (internal) to abbe.lib.overdrive.com (external)

We want our patron's to use abbe-lib.org/digital to go to abbe-lib.overdrive.com.

Regards,
ABBEtech
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33422228
Ahh..ok
A cname records only work within the same zone.  What you'll need to do is code a redirect using javascript or similiar code (i am not a web programmer) to redirect the browser to the site.
0
 
LVL 1

Author Comment

by:abbetech
ID: 33422822
The overdrive guys want me to set up a cname in our DNS. He said it should look like this,
abbe-lib.org/digital        in      cname      abbe.lib.overdrive.com

I guess I should call them back. Thanks.
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 33427739

You cannot create entries like that in DNS.

The CNAME Record aliases one name to another, e.g.

AliasName.domain.com.  IN CNAME  RealName.otherdomain.com.

The CNAME record cannot be used to redirect, and cannot be used to map to a Virtual Directory beneath a web site.

Chris
0
 
LVL 1

Author Comment

by:abbetech
ID: 33430427
I got it setup inside and out with digital.abbe-lib.org cname abbe.lib.overdrive.com

I did this on my internal DNS server and on our external DNS server and it still don't work...

Any idea's?

Regards,
ABBEtech
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 33430457

What are you expecting to happen?

For that to do anything the web server would have to be willing to respond as digital.abbe-lib.org. If you are expecting it to redirect or anything else you're out of luck I'm afraid. That will need you to do some work on the web server.

Chris
0
 
LVL 1

Author Comment

by:abbetech
ID: 33430528
I expect to put digital.abbe-lib.org in the browse and hit abbe.lib.overdrive.com. Or at least that's what I'm trying to accomplish. Isn't that the whole idea of an alias?

Regards,
ABBEtech
0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 33430622

What will happen is that you'll put digital.abbe-lib.org into the browser, and it will resolve to the same IP address as abbe.lib.overdrive.com. Then it will create a connection to that IP using digital.abbe-lib.org as the name.

If you want to change the URL typed into the bar in a browser you need a web server to perform a redirect. You might use the same web server as abbe.lib.overdrive.com, or you might bounce the request of another, different, web server. DNS can't do it for you I'm afraid.

Chris
0
 
LVL 1

Author Comment

by:abbetech
ID: 33430779
This is my email from the the admin at overdrive,

The first screen in the PDF where it shows the “digital” pointing at “abbe.lib.overdrive.com” is perfect.
 

Also, you’ve had perfect success, the system error you see is because our web team has not yet entered the “digital.abbe-lib.org” hostname into our database yet, and therefore our systems do not recognize the URL.

Thanks to all who tryed to help.

Regards,
ABBEtech

 

0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 33430803

That would be the host header :) Hopefully they'll finish it off for you quickly.

Chris
0
 
LVL 1

Author Closing Comment

by:abbetech
ID: 33430851
Thanks!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 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