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
1 answer

Relation between server_name in nginx sites-available, /etc/hosts file and A-records

I have the following two server-blocks in my config-file in sites-available: server { listen 80; server_name www.mydomain.be; root /usr/share/nginx/html; index index.html index.htm; location / { …
Patrick Allo
  • 161
  • 1
  • 1
  • 7
3
votes
2 answers

Possible reasons for occasionally inaccessible domains

I'm experiencing symptoms similar to those of the other question. That is, peoples are complaining about a domain name being inaccessible. And then, it suddenly starts working after a while. But I doubt it's because of unreliable DNS servers. They…
x-yuri
  • 2,141
  • 2
  • 24
  • 29
3
votes
1 answer

How to setup a subdomain on nginx?

I have setup GitLab on my unbuntu ubuntu 12.04 lts server in following path /home/git/gitlab/. I am using nginx server. This is my gitlab status root@c27-76:/etc# sudo service gitlab status The GitLab Unicorn web server with pid 3187 is…
Krishna Karki
  • 131
  • 1
  • 1
  • 3
3
votes
1 answer

Pointing main domain to another server while keeping subdomains in same place

I have a domain I want to point to my github pages site. However, I want to keep the subdomain old.mysite.com pointing at the current server (as this is an archive of my old php blog, which github pages can't host). How would I go about doing this…
wheresrhys
  • 181
  • 1
  • 9
3
votes
2 answers

It is possible to point some specific subdomains to a DNS server using Wildcard subdomain?

Assuming example.com domain and fake IPs, the configuration needed is this: example.com points to 186.200.1.1 www.example.com points to 186.200.1.1 adm.example.com points to 186.200.1.1 online.example.com points to 186.200.1.2 store.example.com…
Rodrigo
  • 179
  • 3
  • 12
3
votes
3 answers

Are there any naming conventions for services and their associated domain?

I'm wondering if there are any widely used and proved naming conventions for DNS entries, for example let's say I've a company domain, like foobar.net and I've a bunch of services like a db for an application of our french branch, I'd though of…
Boris Guéry
  • 516
  • 1
  • 6
  • 20
3
votes
3 answers

DNS with underscore won't update

Recently Playing around with Digitalocean's DNS service and found a strange issue that doesn't exists of other DNS provider. When a record with underscore(s) in it, all subsequent update to that zone won't take effect unless that record is…
Tony Tsang
  • 33
  • 3
3
votes
1 answer

Munin in a subdomain using Apache Virtual Host

I'm trying to install Munin in my server and configure the web interface to work in a subdomain. I've configured the subdomain stats.mysite.com and created the file /etc/apache2/sites-available/stats.mysite.com: NameVirtualHost *:80
Doon
  • 153
  • 6
3
votes
2 answers

Creating sub-sub-domain on Amazon Route 53

I'm trying to get my development environment as such: dev.domain.com dev.admin.domain.com qa.domain.com qa.admin.domain.com I've created them just like I would create a sub-domain on the Route 53 page but it does not work. Anything I am missing?
Mike C.
  • 151
  • 1
  • 4
3
votes
1 answer

nginx, gitlab, subdomain

I have installed gitlab on an ubuntu ( 12.04 ) virtual machine in virtual box, on my NAS (on Windows 7) The hostname of this machine is vubuntu. My router ( tomato v1.28 ) is configured to use the .lan domain. On my workstation, I can ping the…
Emidee
  • 131
  • 7
3
votes
1 answer

Is there a way to check DNS records to determine the creation date of a subdomain? e.g. blog.example.com

I need to determine when a subdomain was created. Is there a way to do that with DNS lookups? For a given top level domain like example.com, can I find out when blog.example.com was created?
andrunix
  • 133
  • 1
  • 3
3
votes
2 answers

Automatic wildcard subdomains on Apache

Currently I have several virtual hosts set up for individual subdomains. It would be a lot easier if I could tell Apache to automatically find the folder using a wildcard. For example, hello.domain.com would use the /var/www/hello directory as its…
Oliver Joseph Ash
  • 361
  • 3
  • 5
  • 14
3
votes
1 answer

share a domain name beween php and mono

I've got a problem : I've got a dedicated server where I use three different domain names and php. Now, I've got a new website that I developped with asp.net. I installed mono, mod_mono and transfered my assembly inside /var/www/mysite My problem…
artragis
  • 133
  • 4
3
votes
1 answer

Is there a way to dynamically forward subdomains in NGINX?

I've done all the googling I can, but no luck. I'm trying to figure out how to create a namespace for a user, say user.mysite.com, and have that redirect to his/her folder (mysite.com/user). Is there a way to make nginx forward all subdomains to…
3
votes
6 answers

how to get subdomain to link with folder?

I am running xampp which has Apache on windows for a dev server. I need to use a subdomain of localhost to access my localhost/images/ folder by going to h##p://images.localhost However I am having trouble, I have posted an image below showing my…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32