Solved

adding cname record to windows DNS, not working

Posted on 2010-09-02
8
522 Views
Last Modified: 2012-05-10
I am trying to add a cname record.  

I want my users to be able to simply enter mantis.domain.com.  The real domain is hosted on uglyurl.com/mantis.

I created a cname record in DNS, yet my internal domain users cannot reach the site.  I do a nslookup from my client machine and no IP is returned.  

as a test I create another cname record with just uglyurl.com, and I can now reach the site by mantis.domain.com

Is this /mantis breaking my cname record? Any work around?
0
Comment
Question by:SmallPrint
[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
  • 3
  • 3
  • 2
8 Comments
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33590996
You are attempting to include part of a path in the cname?  That won't work...

Apache supports host headers: http://httpd.apache.org/docs/2.0/vhosts/name-based.html

Now that you have a functional cname record, configure your apache web server so that connections coming in with the virtual host 'mantis.domain.com' go to the /mantis directory.
0
 

Author Comment

by:SmallPrint
ID: 33591010
uglyurl.com is actually hosted on godaddy.
0
 
LVL 3

Accepted Solution

by:
sbo2002 earned 250 total points
ID: 33591109
Don't confuse DNS names and website directories.

On uglyurl.com, the /mantis part is the directory that holds the mantis website. Unless your web server is configured to use the /mantis website as the default website, then your users would have to type in "mantis.domain.com/mantis".

The default website is where visitors to your web server get directed if they type in "yourURL.com" without "/something" (like yourURL.com/mantis or yourURL.com/website2).

So once your CNAME is set up, either you'll have to configure your web server to use /mantis as the default website, or your users will have to add /mantis after the CNAME.

I'm not quite sure that a CNAME is even appropriate in your situation. Is uglyurl.com an internal website or an external website?
0
What, When and Where - Security Threats from Q1

Join Corey Nachreiner, CTO, and Marc Laliberte, Information Security Threat Analyst, on July 26th as they explore their key findings from the first quarter of 2017.

 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33591196
Okay.
What comes after the hostname in the browser has to be handled by an HTTP server (web server).  The easiest way to do that in this case would be to work with godaddy.  If you have another web server, you can have that web server receive the traffic for mantis.domain.com and perform a redirect to the uglyurl.com, but the end user is eventually going to see uglyurl.com in their address bar anyway.  Talk to your customer service rep to technical rep at godaddy to find out how much more they are gonna charge to host the prettier domain for your website.
0
 
LVL 3

Expert Comment

by:sbo2002
ID: 33591229
Godaddy. Got it.

Is uglyurl.com a domain that you control? If so, you'll need to create the CNAME in your DNS control panel in godaddy, not on your internal DNS server.

If uglyrul.com is somebody else's domain, I don't know that you're going to be able to do what you're trying to do. The DNS query for uglyurl.com is going to be answered by godaddy's DNS server (your users query the internal DNS, which will query godaddy's DNS and return the answer). You can't add DNS records to your internal DNS server for a server hosted by godaddy.
0
 

Author Comment

by:SmallPrint
ID: 33591249
we owna nd control uglyurl.com.  It is the root domain of our hosting accounting, however nothing is actually hosted when you go to uglyurl.com...we create a root level domain for organizing the folder structure on the godaddy FTP site.
0
 

Author Comment

by:SmallPrint
ID: 33591254
our folder/domain structure on godaddy looks like

Uglyurl.com (root folder)
 company1.net (sub folder of root)
 Company2.net (subfolder of root)
 mantis (subfolder of root)
 
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33592658
Ah... here is the godaddy supported method of accomplishing what you have stated you want to do:
http://help.godaddy.com/article/5399
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

623 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