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
8
votes
2 answers

DNS: wildcard domains

If I have a wildcard domain, is it possible to list specific subdomains that override the wildcard one? For example: *.domain.com. 3600 IN A 1.2.3.4 foo.domain.com. 3600 IN A 9.9.9.9
Unknown
  • 1,685
  • 6
  • 20
  • 27
7
votes
1 answer

Adding a subdomain on Google Domains

I'm trying to create a TXT DNS record with name _acme-challenge.www on Google Domains to allow me to validate my DNS (i.e. via _acme-challenge.www.example.com). I've already validated the domain itself; but want to validate the www subdomain so I…
7
votes
2 answers

2 servers, 1 public IP - Redirect subdomain internally

I have 2 SSL web servers and 1 public IP address. I own a TLD (example.com), what I'd like to do is redirect server1.example.com to internal server A and server2.example.com to internal server B. How would I go about doing this? The webservers are…
Chris
  • 71
  • 2
7
votes
1 answer

How to map a domain name to a load balancer in google cloud platform?

I have successfully set up a load balancer in google cloud platform If I use the IP as shown in the image, I can test and verify that the set up is working as I planned. Now I would like to map a domain name to the IP. I want to use…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
7
votes
3 answers

In Nginx, map specific subdomains to ports, redirect all others

I'm trying to accomplish three things: Map traffic, by subdomain, to one of several applications on different ports. If subdomain isn't recognized, redirect to www. Require HTTPS on all subdomains. My nginx configuration so far is: map $subdomain…
Don McCurdy
  • 171
  • 1
  • 4
7
votes
1 answer

DNS security & .com AD Domains, What are the dangers to my AD Domain if someone squats my public .com domain

I am aware that best practices currently dictate that my Windows AD Domain name should be a subdomain of a purchased, globally unique namespace (ie ad.namespace.com). That's just fine and dandy. My question is, what are the potential security…
7
votes
0 answers

Registrar nameservers vs. NS records for bare domain?

OK, I'm a bit new to DNS, but I'm having some trouble finding the answer to this. I have a domain registered at google domains. As with other registrars, you have access to their free DNS, and although I realize you can change these, I also noticed…
kegepet
  • 71
  • 1
  • 3
7
votes
2 answers

Validity of a FQDN with a hostname consisting entirely of numbers

Is a FQDN valid if the hostname component is entirely numeric? It's not something I've come across before and I'm not sure if something like the following is legal: 001.example.com. I know it's an issue for Windows Servers, but is a purely numeric…
7
votes
3 answers

Best practice for placing DNS records and subdomains

Say I have mydomain.com: Is it better to use option A: [A] mydomain.com 123.45.67.89 [A] www.mydomain.com 123.45.67.89 or option B: [A] mydomain.com 123.45.67.89 [CNAME] www.mydomain.com mydomain.com What would be the impact…
7
votes
4 answers

How to make a directory in site root a subdomain?

I have a Ubuntu LAMP site hosted at vps.net. I have a directory called john that is accessible via mysite.com/john I would like it instead to be accessed via john.mysite.com My site root is /var/www and this directory is at /var/www/john What do I…
JD Isaacks
  • 895
  • 5
  • 14
  • 25
6
votes
2 answers

Hide subdomains from scan tools

How can I hide the subdomains list from scan tools like dnsdumpster? I have some subdomains, where I keep dev versions of my projects. I need to be sure that nobody can know about subdomains.
Kandrat
  • 195
  • 1
  • 5
6
votes
1 answer

How to map subdomain in CloudFront to the same name in S3?

I have been searching for a way to do the following if someone can enlighten me would be greatly appreciated. e.g. would the following mappings be possible in a single CloudFront instance? feature-a.domain.com =>…
6
votes
1 answer

Using a CNAME record to redirect a subdomain to another website?

Under my current understanding, I am able to use CNAME records to redirect users to another domain. For example, I own 'mydomain.com'. When a user goes to 'keep.mydomain.com', they should be redirected to 'keep.google.com'. I currently have the…
6
votes
3 answers

How do I configure a subdomain to point to a different IP from GoDaddy

Simailar to this question, I want to configure DNS hosted with GoDaddy to have a subdomain on a different IP from the root site. The issue I am having is that GoDaddy uses a GUI and does not grant direct access to bind (that I can see). When I…
Rob Allen
  • 551
  • 1
  • 6
  • 11
6
votes
5 answers

Subdomains vs multiple domain names

I have the domain name for www.foo.co.uk. I am looking to use it as a landing page that will allow people to go to 1 of 2 sections of my site (both having separate blogs). So I have the idea I could direct to either foo.co.uk/yyy/blog or…
ddd
  • 237
  • 1
  • 2
  • 9