Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 531
  • Last Modified:

how to set DNS for subdomain

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
CMDAI
Asked:
CMDAI
  • 4
  • 3
1 Solution
 
giltjrCommented:
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
 
CMDAIAuthor Commented:
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
 
giltjrCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
CMDAIAuthor Commented:
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
 
CMDAIAuthor Commented:
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
 
giltjrCommented:
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
 
CMDAIAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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