Questions tagged [subdomain]

In the Domain Name System (DNS) hierarchy, a subdomain is a domain that is part of a larger domain.[1]

The Domain Name System has a tree structure or hierarchy, with each node on the tree being a domain name. A subdomain is a domain that is part of a larger domain, the only domain that is not also a subdomain is the root domain.

For example, mail.example.com and calendar.example.com are subdomains of the example.com domain, which in turn is a subdomain of the com top-level domain (TLD).

A "subdomain" expresses relative dependence, not absolute dependence: for example, wikipedia.org comprises a subdomain of the org domain, and en.wikipedia.org comprises a subdomain of the domain wikipedia.org.

1428 questions
3
votes
2 answers

DNS Server - 2 Domains - 2 DNS Servers - Replicate DNS between two domains in 1 LAN

We have 2 DOMAINS (x.local and y.local) with both own AD and DNS environment. How can I link the DNS lookup zones from both DNS servers to eachother. So when a client from one domain can resolve DNS names from the other domain withouth manually…
B.M.
  • 33
  • 1
  • 4
3
votes
2 answers

Port to subdomain in apache

I currently have a server which runs a Python web app on port 8000. It's publicly accessible on the web (at the server's IP) with no issues. I'd like to make this web app available on a subdomain so that you don't have to access the IP address in…
javathunderman
  • 221
  • 2
  • 11
3
votes
0 answers

How to forward anything@subdomain.domain.com to anything@domain.com

Scenario Our company has two web servers. Our main doman, domain.com is hosted offsite using a hosting provider (In this case, Netfirms). One of our subdomains, subdomain.domain.com is hosted onsite and is reached via a CNAME entry in the DNS…
3
votes
1 answer

Best practices for managing the IP addresses you own in DNS and their PTRs?

I was wondering how exactly the big companies go about managing all the IP addresses that their public servers use, especially in respect to setting up correct PTR-records. This is very important, for example, when sending lots of email from…
Kevin F
  • 31
  • 3
3
votes
2 answers

Fix missing ssl-cert for subdomain www. using redirect or similar

We're using setup with an nginx on one machine and (currently) one application server on apache in the back. For multiple domains we got ssl certs, but only for the domain itself. So without subdomain www. Everything works as expected, we do not use…
j.fiedler
  • 33
  • 3
3
votes
2 answers

One vhost, multiple certificates

I have the domain example.com with the subdomains : www.example.com and a.example.com. Let's suppose that I can't buy a wildcard certificate but, I bought the certificates for example.com and www.example.com. Now I bought the certificate for…
3
votes
1 answer

Lighttpd Subdomains

$HTTP["host"] == "example.com" { server.document-root = "/var/www/vhosts/example.com/httpdocs/development/api" server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename =…
James
  • 171
  • 1
  • 3
  • 15
3
votes
2 answers

Getting 403 - Forbidden when creating a subdomain

I've gone through a number of posts but none has fixed my problem, so I'm asking. I've never setup domains or subdomains so any simple mistake could be the problem. System: Debian 6.0.6 apache2.2.16 What i've done so far: Created an A record.…
monxas
  • 81
  • 1
  • 7
3
votes
3 answers

How to set hostname if hosting multiple servers on the same machine?

I'm learning about setting up my own web and mail servers, and I've been confused about this question for days, and articles online (including Server Fault) seems to be so inconsistent with their use of the term 'subdomain' and 'hostname'. From my…
dayuloli
  • 1,253
  • 2
  • 11
  • 19
3
votes
1 answer

Can I use 2 different subdomains with 2 different servers?

I have 2 different servers and one domain name. Can I use 2 different sub domains to point to the two servers? Is it possible?
Rohan
  • 135
  • 3
  • 12
3
votes
1 answer

How to configure and combine wildcard domains and subdomains in Apache2's VirtualDocumentRoot?

httpd-vhosts.conf Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all Require all granted VirtualDocumentRoot…
widyakumara
  • 141
  • 1
  • 1
  • 4
3
votes
2 answers

Non-Wildcard SSL Certificate and Subdomains

I want to protect the login form of my blog application with an SSL certificate and I'd also like to have some subdomains set up for things like the Mint web stats package. Is this even possible using a non-wildcard certificate, e.g. the GoDaddy…
John Topley
  • 2,175
  • 3
  • 16
  • 17
3
votes
1 answer

Resolve root domain to IP, forward all other sub domains to public DNS

This is my zones file zone "domain.com"{ type master; file "/etc/bind/db.override"; }; zone "cpanel.domain.com"{ type forward; forwarders { 8.8.8.8;8.8.4.4; }; forward only; } The root domain resolves to…
Garrett R
  • 219
  • 2
  • 10
3
votes
1 answer

Setting up DNS forward zone when AD domain name is a subdomain

I'm in high school and want to learn about system administration, so I set up a Windows Server 2012 R2 domain controller in a lab and created the domain ad.foo.com. I own foo.com and the domain registrar (Gandi) handles the DNS and hosts my personal…
3
votes
0 answers

kinit error: Realm not local to KDC, DC is in a subdomain

I have a user: oneuser@EXEMPLE.COM as principal and the next krb5.conf: [libdefaults] default_realm = EXEMPLE.COM default_tkt_enctypes = arcfour-hmac-md5 default_tgs_enctypes = arcfour-hmac-md5 permitted_enctypes =…
CyberDracula
  • 131
  • 3