Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to set DNS for subdomain

Posted on 2009-03-31
7
Medium Priority
?
530 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

618 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