Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


adding cname record to windows DNS, not working

Posted on 2010-09-02
Medium Priority
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?
Question by:SmallPrint
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
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.

Author Comment

ID: 33591010
uglyurl.com is actually hosted on godaddy.

Accepted Solution

sbo2002 earned 1000 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?
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

LVL 30

Expert Comment

by:Rich Weissler
ID: 33591196
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.

Expert Comment

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.

Author Comment

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.

Author Comment

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)
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:

Featured Post

Independent Software Vendors: 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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Resolve DNS query failed errors for Exchange
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

719 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