Solved

DNS - Create cname to map url

Posted on 2010-08-12
13
1,224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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 71

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 71

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 71

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 71

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Company website 6 49
Public IP address in an internal DNS reverse lookup zone 2 45
domian network access 5 32
How to properly configure _msdcs child zone? 14 31
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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