Koozali.org: home of the SME Server

How to install Sub Domains

Offline cvlcc

  • ****
  • 102
  • +0/-0
    • http://Cvlcc.com
How to install Sub Domains
« on: February 18, 2010, 05:02:48 AM »
Is there any is having this problem? I' trying to install a number of sub domains on the server and it's not working??? newbie.cvlcc.com, weblist.cvlcc.com, computers.cvlcc.com, weblist.cvlcc.com, fetz.cvlcc.com  and they go to different Ibays.
But I keep getting
Server not found
Firefox can't find the server at newbie.cvlcc.com.
    *   Check the address for typing errors such as
          ww.example.com instead of
          www.example.com
    *   If you are unable to load any pages, check your computer's network
          connection.
    *   If your computer or network is protected by a firewall or proxy, make sure
          that Firefox is permitted to access the Web.

cvlcc.com is on this server and works right!
Every thing is set to Internet DNS servers!
Can any body understand how to fix this?
My we all be so humbled, To ask the questions and get straight answers. Sooner than later. Thank You For Your Time

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: How to install Sub Domains
« Reply #1 on: February 18, 2010, 01:53:03 PM »
Server not found
Firefox can't find the server at newbie.cvlcc.com.
You will need working DNS for each of the alternative hostnames you want to use.

For local users, create local "hosts" in server-manager; for remote users, you have to create the new domain names and point them all to the same IP.

If you can't ping newbie.cvlcc.com, you can't browse to it.

I don't think this will affect you, but there is one more potential hiccup - for SME LAN workstations browsing to off-site systems with the proxy server enabled, the SME server has to be able to resolve the remote hostname, since the remote traffic is all managed by the proxy server.  In this case, make sure you can ping newbie.cvlcc.com from the SME server itself.

Offline cvlcc

  • ****
  • 102
  • +0/-0
    • http://Cvlcc.com
Re: How to install Sub Domains
« Reply #2 on: February 18, 2010, 10:27:42 PM »
I forgot to say I do have two sub domain working /cliff.cvlcc.com/ and /rogacorp.cvlcc.com/  when I ping them they work OK?
On the the DNS server I have This:
$ttl 38400
cvlcc.com.   IN   SOA   NS1.cidinter.com. info.cidhosting.com. (
         1155672941
         10800
         3600
         604800
         30 )
cvlcc.com.   IN   NS   NS1.cidinter.com.
www.cvlcc.com.   IN   A   66.126.84.172
cvlcc.com.   IN   A   66.126.84.172
cvlcc.com.   IN   MX   10 mail.cvlcc.com.
Vitalcarr.cvlcc.com.      IN   A   66.126.84.172
www.Vitalcarr.cvlcc.com.         IN   A   66.126.84.172
www.fetz.cvlcc.com.      IN   A   66.126.84.172
fetz.cvlcc.com.            IN   A   66.126.84.172
mail.cvlcc.com.            IN   A   66.126.84.172
www.oxy.cvlcc.com.         IN   A   66.126.84.172
oxy.cvlcc.com.                   IN   A   66.126.84.172
newbie.cvlcc.com.           IN   A   66.126.84.172
www.newbie.cvlcc.com.      IN   A   66.126.84.172
cliff.cvlcc.com.           IN   A   66.126.84.172
www.cliff.cvlcc.com.           IN   A   66.126.84.172
weblist.cvlcc.com.           IN   A   66.126.84.172
www.rogacorp.cvlcc.com.           IN   A   66.126.84.172
computers.cvlcc.com.       IN   A   66.126.84.172
www.computers.cvlcc.com.       IN   A   66.126.84.172
weblist.cvlcc.com.          IN   A   66.126.84.172
www.weblist.cvlcc.com.          IN   A   66.126.84.172
cliff.cvlcc.com.           IN   mx   10 mail.cliff.cvlcc.com.
66.126.84.172.cvlcc.com.   IN   PTR   cvlcc.com
cliff.cvlcc.com.   IN   CNAME   66.126.84.172
oxy.cvlcc.com.            IN   CNAME   66.126.84.172
newbie.cvlcc.com.   IN   CNAME   66.126.84.172
fetz.cvlcc.com.           IN   CNAME   66.126.84.172
66.126.84.171.cidhosting.com.   IN   PTR   cidhosting.com
computers.cvlcc.com.       IN   CNAME   66.126.84.172

On the SME server I have This:
cliff.cvlcc.com   clifford   cliffm   Internet DNS servers   Modify   Remove
computers.cvlcc.com   computers   Primary   Internet DNS servers   Modify   Remove
cvlcc.com   primary   Primary   Internet DNS servers   Modify   Remove
cvlcc.local   Primary domain   Primary   Resolve locally   Modify   
fetz.cvlcc.com   fetz   Primary   Internet DNS servers   Modify   Remove
lopezlawyers.com   law   lawm   Internet DNS servers   Modify   Remove
newbie.cvlcc.com   new   Primary   Internet DNS servers   Modify   Remove
weblist.cvlcc.com   weblist.cvlcc   rogacorp   Internet DNS servers   Modify   Remove

I Know that the problem is on thr SME server! or is there a limit on subdomaines?

Can some one give me an way to fix this and bear with me i had a stroke two weeks ago. i can only write with my right hand and the right side of my face is working so I'm a little fussy.
« Last Edit: February 18, 2010, 10:38:33 PM by cvlcc »
My we all be so humbled, To ask the questions and get straight answers. Sooner than later. Thank You For Your Time

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: How to install Sub Domains
« Reply #3 on: February 18, 2010, 11:20:55 PM »
You'll need to create hosts or domains on your SME server for all the sub-domains that are supposed to resolve locally - as you have with "cliff.cvlcc.com".

Are these subdomains supposed to show the same website, or are they all supposed to show different websites?

If you just want the same website using a different name, you can create "hosts" on your sme - just go to server-manager, then "Hostnames and Addresses", then "Add hostname".   Add an entry for each sub-domain, using the LAN IP of your SME as the IP address.  No changes are made to httpd.conf, so all visitors will see the default website for your SME server.

If you want separate content for each subdomain, mapped to an ibay, you'll need to use the "Domains" panel, and create new domains for each sub-domain.  Specify the desired ibay for each domain.

If you want separate content for each subdomain mapped to a web application located in the /opt folder, you'll want to read http://wiki.contribs.org/Web_Application_Redirect_Tutorial

Until you do one of these, your alternate sub-domains are either not found at all, or are returning the WAN IP of the SME from the Internet DNS server - which will not work from the LAN.



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to install Sub Domains
« Reply #4 on: February 19, 2010, 01:30:55 AM »
I forgot to say I do have two sub domain working /cliff.cvlcc.com/ and /rogacorp.cvlcc.com/  when I ping them they work OK?

That doesn't mean they work everywhere, or for everyone else. When you make DNS changes, you'll have to wait some time before the new records can be relied upon to be visible.

None of your subdomain records is visible here:

[charlieb@localhost tmp]$ host newbie.cvlcc.com.
Host newbie.cvlcc.com. not found: 3(NXDOMAIN)
[charlieb@localhost tmp]$ host rogacorp.cvlcc.com
Host rogacorp.cvlcc.com not found: 3(NXDOMAIN)
[charlieb@localhost tmp]$ host cliff.cvlcc.com
Host cliff.cvlcc.com not found: 3(NXDOMAIN)
[charlieb@localhost tmp]$

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to install Sub Domains
« Reply #5 on: February 19, 2010, 01:36:40 AM »
I Know that the problem is on thr SME server! or is there a limit on subdomaines?

I know that the problem is with your DNS configuration. I'd suggest you use an on-line tool to validate the domain zone records.

Quote
Can some one give me an way to fix this and bear with me i had a stroke two weeks ago. i can only write with my right hand and the right side of my face is working so I'm a little fussy.

Sorry to hear that. I hope you make a full recovery.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to install Sub Domains
« Reply #6 on: February 19, 2010, 01:37:53 AM »
I know that the problem is with your DNS configuration. I'd suggest you use an on-line tool to validate the domain zone records.

For example, http://dnscheck.iis.se/ identifies these problems:

Delegation

    *

      Superfluous name server listed at parent: ns1.cidinter.com
    *

      A name server listed at the parent, but not at the child, was found. This is most likely an administrative error. You should update the parent to match the name servers at the child as soon as possible.
    *

      Too few name servers (1).
    *

      Only one name server was found for the zone. You should always have at least two name servers for a zone to be able to handle transient connectivity problems.
    *

      Too few IPv4 name servers (1).
    *

      Only one IPv4 name server was found for the zone. You should always have at least two IPv4 name servers for a zone to be able to handle transient connectivity problems.

Nameserver

    *

      Nameserver ns1.cidhosting.com
    *

      No address found for ns1.cidhosting.com.
    *

      No IPv4 or IPv6 address was found for the host name.
    *

      Host name or address error for ns1.cidhosting.com.
    *

      The specified host name is not a valid host name or the host name points to an invalid IP address, e.g. a private or reserved IP address.
    *

      Nameserver ns1.linuxgeek.net

Consistency

    *

      2 different serials found.
    *

      The SOA serial is not the same on all name servers. This is usually due to misconfiguration, but can sometimes be the result of slow zone propagation to secondary name servers.
    *

      2 different SOA records found.
    *

      The SOA record are not the same among all name servers. This is usually due to misconfiguration.

SOA

    *

      Host did not accept pacneil@ns1.linuxgeek.net as SMTP recipient.
    *

      The mail server did no accept mail to the recipient address. This is probably due to an unknown address.
    *

      Delivery over IPv4 to pacneil@ns1.linuxgeek.net could not be done.
    *

      Failed to deliver email for SOA RNAME of cvlcc.com (pacneil.ns1.linuxgeek.net) using pacneil@ns1.linuxgeek.net.

Offline cvlcc

  • ****
  • 102
  • +0/-0
    • http://Cvlcc.com
Re: How to install Sub Domains
« Reply #7 on: February 19, 2010, 08:56:32 PM »
I figured out what the problem is on this there was a bad install on the server cvlcc! I did the same things to another server cidhosting and everything works perfict?????fetz.cidhosting.com, newbie.cidhosting.com, weblist.cidhosting.com and I changed the DNS server to the DNS Master cidhosting and now everything is working Now

Thank you All

p.s. CharlieBrady
ns1.cidinter.com is the axual DNS server
ns1,cidhosting.com is supose to be the name of the cidhosting.com hosting server
ns1.cvlcc.com is supose to be the name of the cvlcc.com hosting server
But i could never get them to work right, Maybe you could give alittle more insight to this problem?
My we all be so humbled, To ask the questions and get straight answers. Sooner than later. Thank You For Your Time