• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

Internet DNS Zones? How to add subdomains?

I am the administrator of a web server. i can resolve www.cwcrl.com or cwcrl.com but when i try to resolve example.cwcrl.com it doesnt resolve, i know its posible to make it resolve anything.cwcrl.com to the server but i cant figure out how to make it do that, Thanks for any help.
0
n9zlv
Asked:
n9zlv
1 Solution
 
DbergertCommented:
you need to add an "A" or CNAME reocrd to your DNS server or settings  for example to resovle to www.cwcl.com 

0
 
Chris DentPowerShell DeveloperCommented:

If you want to resolve any typed address under cwcrl.com to www.cwcrl.com then you need a Wildcard Record. So you would want:

* CNAME www.cwcrl.com.

HTH

Chris
0
 
prashsaxCommented:
Open DNS Admin console in Windows Admin Tools.

Locate the cwcrl.com.

Right Click and select CNAME record.

Just put the name "example" and put IP address of web server.

Now example.cwcrl.com will resolve to the web server.

One more thing, On IIS, you need to add header of example to the website .
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
n9zlvAuthor Commented:
Im Sorry i didnt give enought info, the webserver is running fedora core 5, and it is an internet web site, so i dont have controle of the dns server, i am wondering if i can somehow add a dns server on the webserver? or if i have to change who i have the dns trough? i am kinda new to the webserver stuff,
0
 
Chris DentPowerShell DeveloperCommented:

Well you can host your DNS service wherever you like if you own the Domain. But bear in mind that you will want your DNS servers to be always available really so you may find that hosting them yourself is going to be a bit tricky.

If it's not then you could potentially run the DNS Service on the webserver itself, I wouldn't particularly recommend it for a public site, but it is entirely possible. All it needs is BIND installing, firewall rules checking to ensure that Port 53 is allowed Inbound and a bit of setup for the Name Server itself.

You could always ask whoever hosts your DNS Server at the moment to just add the records, if I was correct in the assumption that you want anything typed before cwcrl.com to send off to the website then that would be the Wildcard Record mentioned earlier (*).

Chris
0
 
n9zlvAuthor Commented:
Thank you for the help, i will try that
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now