Solved

how to set DNS for subdomain

Posted on 2009-03-31
7
526 Views
Last Modified: 2012-05-06
Linux Redhat /Plesk Control Panel 9.0
I set up a subdomain through plesk and i am able to access go into it through ftp but cant access
with browser, Google Chrome sais DNS error.
Ping also doesn't work.

do i need to adjust my DNS settings?


8 DNS records total            Number of entries per page: 10 25 100 All
      Host      Record type      Value
      <domain>.      A      <ip>
      <domain>.      MX (10)      mail.<domain>.
      <ip> / 24      PTR      <domain>.
      ftp.<domain>.      CNAME      <domain>.
      mydomainname.com.<domain>.      NS      ns.mydomainname.com.
      mail.<domain>.      A      <ip>
      ns.<domain>.      A      <ip>
      webmail.<domain>.      A      <ip>
8 DNS records total            Number of entries per page: 10 25 100 All


0
Comment
Question by:CMDAI
  • 4
  • 3
7 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 24035466
Do you have a webserver listening on the IP address that the name resolves to?

What do you mean by "ping" does not work?  It will not resolve the host name, or you get that it timed out?
0
 
LVL 1

Author Comment

by:CMDAI
ID: 24035655
I'm sorry i dont understand the term "Listening on the IP"?
Will this help answer your question : "I have a dedicated server @ Godaddy with a static IP"

When i try to ping test.mydomainname.com i get a message:
"Ping request could not find host test.mydomainname.com. Please check the name and try again."

Now I have 1 static IP address and 3 domain names under it.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24035715
I will assume that GoDaddy has your web server up and running.

I'm a bit confused by your list of names.  You have:

 mydomainname.com.<domain>.

and

 ftp.<domain>.

When you are attempting to get to your website what name are you putting in the URL?  Since you can ftp to ftp.<domain>, what happens when you put in:

     http:\\ftp.<domain>

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 1

Author Comment

by:CMDAI
ID: 24036016
OK here is what i have,
I was wrong, I need to change DNS setting inside godaddy.com control panel and not inside my server

I added a new record into aliases for mydomainname
 Host Points To TTL Actions
 smtp @ 1 Hour    
 pop @ 1 Hour    
 mail @ 1 Hour    
 webmail @ 1 Hour    
 test @ 1 Hour      <- new record
 www @ 1 Hour    
 ftp @ 1 Hour    

Will wait for a while see if it works after updating.
0
 
LVL 1

Author Comment

by:CMDAI
ID: 24036196
Super! it all works Now, Thanks :)
While im on the same topic , I don't understand the point of "www."
should i add some kind of alias so that this www.test.mydomain.com works also?


0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 24038253
Way back in time server typically did one thing and one thing only.  You named the servers based on what they did.  A ftp server was named ftp.domain.tld, a webserver was named www.domain.tld, and so on.  In reality the name means nothing, you could call your web server bob.domain.tld or adsfafd.domain.tld.  The applications (your browser, ftp client, telnet client, e-mail client, e-mail server, and so on) don't really use the names, they use the IP address.  

The names are used because we humans like names and can remember names.  The applications do a name lookup to findout the IP address and then use the IP address.

Some applications (web servers and browsers) now also use names.  In the HTTP 1.1 standards the host name that you type in the URL is passed as a HTTP header, which the web server can then read to figure out which web site you really want to see.  This is because it used to be not only did a server do one thing, but if it was a web server it hosted just one site.  Now a web server can host many, many, many sites.  Instead of using a unique IP address to represent each site it uses name based virtual host (IIS calls this host headers).  So a single IP address can represent many, many websites.

I don't know if you should add a www.test.mydomain.com or not.  Technically what GoDaddy, and others, call a subdomain, sometimes is not a subdomain, but another host name that represents a different website on your webserver.  It basically what they call named based virtualhosts.  You could try and see if it works.  If it works you can leave it, if it does not work you can always delete it.
0
 
LVL 1

Author Comment

by:CMDAI
ID: 24040779
Really nice clear explanation, I read a few pages on DNS but they go really deep into detail, it was hard to understand, but after your overview I can connect the dots.
Thanks allot
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 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