Solved

how to set DNS for subdomain

Posted on 2009-03-31
7
521 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now