?
Solved

how to set DNS for subdomain

Posted on 2009-03-31
7
Medium Priority
?
529 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
[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
  • 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
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 2000 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This program is used to assist in finding and resolving common problems with wireless connections.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

765 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