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

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

Subdomains returning HTTP 403 after updating Apache from 2.2 to 2.4

After an operating system upgrade which involved updating Apache from 2.2 to 2.4, I'm now getting 403s trying to access http://files.fierydragonlord.com/ and http://status.fierydragonlord.com/. ...
2
votes
1answer
78 views

Nginx reverse proxy forces 301 on subdomain (and it shouldn't)

So I'm using Nginx (1.4.3) to reverse proxy a domain and sub-domains. I installed SSL certs to handle the main domain (example.com) and a couple sub-domains (lets say test.example.com and ...
0
votes
4answers
161 views

Why does httpd handle requests for wrong hostnames in SSL mode?

I have an SSL-enabled virtual host for my sites at example.com:10443 Listen 10443 <VirtualHost _default_:10443> ServerName example.com:10443 ServerAdmin admin@example.com ErrorLog ...
-4
votes
1answer
199 views

settings up active directory accessible from the internet [closed]

For my small company i want to setup a domain controller I want users to be able to access the domain controller from their laptops via the internet. I need the DC for policies & management of ...
1
vote
1answer
262 views

How do I configure namecheap for “arbitrarily-nested” wildcard subdomains?

I'm trying to set up something like nyud.net, where any arbitrary chain of subdomains resolves to the same CNAME record (which in my case points to an amazon elastic load balancer). Ex: ...
-1
votes
2answers
61 views

How to load my app from client's domain name

I am building a SAAS product which is hosted on abc.com and i will have few clients with domains client1.com, client2.org, client3.in etc. Now i want to serve my application to each client on their ...
0
votes
2answers
89 views

email arriving at wrong exchange server

We are having problems with receiving email from one customer, where any emails they send to subdomain.domain.com is being received by the exchange server for domain.com, resulting in an error ...
0
votes
1answer
116 views

SVG doesn't work on subdomain - some browsers try to download rather than display

I have a site with a 'development' subdomain, which displays my SVG file exactly as intended. However when I copy it across to www, or any other subdomain (e.g. 'test') some browsers try to open the ...
2
votes
2answers
315 views

Use subpath internal proxy for subdomains, but redirect external clients if they ask for that subpath?

I have a VirtualHost that I'd like to have several subdomains on. (For the sake of clarity, let's say my domain is example.com and I'm just trying to get started by making foo.example.com work, and ...
0
votes
1answer
50 views

htaccess parameter to subdomain

I would like to redirect this http://www.domain.com/test.php?sub=subdomain&type=cars redirects to http://subdomain.domain.com/cars I already have mod_rewrite rules to do the opposite: ...
0
votes
3answers
73 views

Is there a term for Second Level Domain and Top Level Domain [duplicate]

If I observe the domain: http://www.google.com/ http is the protocal www is a subdomain google is the second level domain com is the top level domain Is there a specific term that would describe ...
5
votes
2answers
303 views

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 ...
0
votes
1answer
44 views

In Zone file terms, how is a subdomain represented?

I am trying to add a subdomain to my zone file but I'm not sure how to add it. Should I use sub.domain.com A 1.0.0.1 or sub A domain.com or sub C 1.0.0.1? I know this is a very newbie question but I ...
0
votes
1answer
32 views

host blog.domain.com from /myapp/public/blog and prevent access from my app.com/blog/*? [closed]

Having a server setup like below. I would like to restrict anyone from accessing http://myapp.com/blog/index.html which would route to /public/blog/index.html. Is this possible or should I really ...
0
votes
1answer
100 views

lighttpd Regex for automatic forwarding of subdomains

I have been looking round and I have not found a good way to automatically set the document root for domains automatically. For example: In the DNS, *.mydomain.com points to mydomain.com And in the ...
0
votes
1answer
405 views

500 error after configuring SubDomain w/ ISPConfig and NGINX

This morning, I was trying to set up a sub domain- and I thought I would give ISPConfig's panel a shot before I tried wrangling with nginx's configuration. The ISPConfig looked like it would work ...
0
votes
1answer
777 views

Nginx to address Nodejs app

I'm using an Ubuntu web server with Plesk 11.5.x. I've added Nodejs and now i want to adress the Nodejs app with a subdomain. Website: domain.tld Nodejs App: app.domain.tld Currently working: ...
1
vote
2answers
892 views

Plesk - Forward subdomain to another port

I'm using an ubuntu web server with plesk 11.5.* - I want to forward a subdomain to a nodejs application with the port 2368. On my old debian systems i would create a vhost for ip:2368 and set the ...
0
votes
2answers
73 views

403 Forbidden even though FollowSymLinks is enabled

I have a vanilla apache2 server installed on a Debian 7 vps. Within the sites-enabled folder, I created a file for a particular subdomain. It is working and shows the correct files at the correct ...
-2
votes
1answer
61 views

How to configure nginx to accept all subdomain?

This is part of nginx.conf: server { listen 80 default deferred; # for Linux server_name *.server.com.br; client_max_body_size 4G; # omitted } I want to accept without redirecting: ...
0
votes
2answers
227 views

sub domain not working in my website

My subdomain is incaccessible since SEVERAL hours. This often do. They are inaccessible for a while and suddenly they are again accessible. I didn't see the problem, I configured bind9 like this : ...
0
votes
1answer
295 views

IIS 7.5 URL Rewrite looping

I have a webapp that is located in /subdir1/subdir2/ I'd like to simplify it for the users by adding a subdomain sub.domain.com but it keeps looping. I'd tried to add additional rules to prevent it ...
0
votes
1answer
152 views

Apache2: How to reverse proxy a subdomain to an internal server with ssl

I'm sure this has been asked before but none of the answers seem to work for me. I have a domain domain.com. I have a subdomain sub.domain.com on the same IP. In this case sub.domain.com is a CNAME ...
21
votes
1answer
1k views

If I own a domain do I own all of its sub domains?

If I own a domain do I own all of its sub domains? For example if I purchase example.com, do I automatically own mail.example.com, blog.example.com, etc? If I do not own the sub domains, can anyone ...
0
votes
1answer
56 views

Expose a directory as public but hide another same-level directory

I have a web application that has the following directory structure: /subdomain_name /app /public This web application is installed for every new user in our VPS. They provide a subdomain ...
2
votes
0answers
479 views

Benefits of using a subdomain for sending email?

Assume I own the domain name, example.org. I am creating a setup where I receive email sent to me@example.org using Google Apps. The MX records for example.org already point to Google's servers and it ...
0
votes
3answers
82 views

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

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 ...
0
votes
1answer
106 views

nginx: trouble creating subdomain.subdomain.domain.com

I'm trying to prototype a website on my server using a default domain name I get through my hosting provider and I'd like to run it off a subdomain but I'm having trouble doing so. The domain I'm ...
0
votes
1answer
715 views

Redirecting sub-domains of different domains to the same site

I have a cloud VPS on which I am hosting a few sites on behalf of a few clients. My Apache is configured with VirtualHosts (I use Zpanel), so each site has its own root folder, and from the DNS ...
0
votes
1answer
68 views

Extract the hostname of an URL

Is there any standarized or widely used method to extract something like a 'top level host name' from an URL? For example, for http://images.google.com I like to have google.com (even if images. ...
0
votes
1answer
380 views

How to setup apache to have overlapping virtual host wildcard server aliases?

I have a development setup of subdomains with apache/wamp, everything is working as I need with the "regular" setup and separately with the "xyz" setup, but I have to change the configuration and ...
0
votes
1answer
35 views

Ubuntu Subdomains on the Fly

We're a trying to accomplish the following on a Ubuntu Server 13.04 installation. We host SaaS apps for customers are are currently moving off shared hosting environments due to limitations with ...
0
votes
1answer
29 views

Apache2 sending 404 on not matched subdomain

How can I send 404 if subdomain is not found? For example if I have something like this: <VirtualHost *:80> ServerName www.example.com DocumentRoot /var/www <all other stuff> ...
0
votes
2answers
361 views

Main domain is redirecting to subdomain

I've a domain domain.com and made one sub domain 'forum.domain.com'. I'm using Apache2 and added one A record to the dns records and made virtualNameServer as: <VirtualHost *:80> ServerName ...
0
votes
1answer
484 views

I'm able to connect to my seafile using my root domain, although I only specified to use my subdomain. (nginx)

I have the following problem, that I'm able to connect to my seafile installation using my root domain "www.domain.com", although I only specified and I only want to use "cloud.domain.com". I only ...
0
votes
0answers
312 views

ISP Config sub-domain setup

I've tried everything to get my sub-domain working but it continues to say that the page isn't found. I have domain.com as a website and the dns records are all setup and that site works fine. I then ...
0
votes
1answer
45 views

Nginx and subdomains issue

Nginx and subdomains issue Hi, Here's my configuration server { listen 80; server_name my_server.com www.my_server.com demo.my_server.com; location / { proxy_pass ...
1
vote
1answer
197 views

Accessing domain redirects to subdomain and displays ip instead of hostname in browser

I am trying to set up a domain and some subdomains in a vps. This seems to work correctly when I access through Firefox but on my phone or on Chrome I am redirected to the subdomain. This is the ...
0
votes
0answers
200 views

Splitting labs into subdomains without breaking Kerberos and Active Directory

So I have a vSphere environment with ever increasing pools of servers. Each pool/group of servers includes something like a firewall/proxy server, and two application servers (mixed environment, Linux ...
1
vote
1answer
1k views

Regular expressions in server_name with Nginx vhost

I have something I'm trying to do with Nginx. Say I have a few users and a subdomain, and each user has a directory at /home/dev/sites/USER_ID. I would like for USER_ID.dev.example.com to point to ...
0
votes
2answers
226 views

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 ...
0
votes
1answer
942 views

Configured Subdomain with nginx always gives warning

I'm trying to configure a subdomain on my root server. As I want to use this subdomain on port 80, I added another serverblock to the corresponding config file. Everytime I start nginx now I get the ...
-1
votes
1answer
36 views

Can name servers be pointed to different sub (and sub sub) domains?

here's the issue. There is a sub domain, let's call it flag.domain.com using names servers, let's say ns1.dns.com and ns2.dns.com. There is also a sub sub domain events.flag.domain.com which also ...
1
vote
0answers
118 views

RewriteCond if folder with parametername exists

I want to make a subdomain-redirect if a folder with the same name as the typed subdomain exists. e.g. I have some folder-structure like www.mysite.de/mainpage/hui.php and want to be able to access it ...
1
vote
1answer
92 views

How to force a subdomain as a default domain but keep other subdomains working?

I have a WordPress site installed at http://www.example.com and another testing WordPress site at http://test.example.com. I've successfully made http://www.example.com redirect to ...
4
votes
1answer
144 views

Why can the primary record for a domain not be a CNAME record? [duplicate]

I have read on the internet that the primary record for a domain (eg example.com) should be an A record, and that bad things happen if you use a CNAME record. I work for a web company that has ...
1
vote
3answers
319 views

Understanding the Basics of Subdomains with VirtualHosts [closed]

I would like to make two subdomains for my site. To do so, I have created three VirtualHosts in my default file under sites-available (I am using Apache on Ubuntu): <VirtualHost 127.0.0.1> ...
0
votes
1answer
69 views

Setup a preview subdomain when creating a new account in WHM

Running WHM on CENTOS 5.9 x86_64 virtuozzo VPS. When I create a new account, for example "example.com", I'm wanting to enable a "preview" feature which will allow the user to view the contents of ...
0
votes
2answers
99 views

Point Subdomain to another application on another domain

I'm not a very experienced Server Administrator and I'm trying to set up a new one I just got. I'm Using IIS7 and DNS Server What I need is that a url such as: mail.domainA.com points to ...
0
votes
1answer
36 views

DNS point to server on ISP and keep shared host too?

I know this is probably quite easy to do, but I might just have the right search sorted out... so here is the situation: We have example.com set up as a hosted server along with app1.example.com, ...