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)

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
96 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
389 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
701 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: ...
0
votes
2answers
784 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
68 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
211 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
266 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
144 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
54 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
421 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
98 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
635 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
59 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
331 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
31 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
325 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
465 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
296 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
44 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
173 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
195 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
903 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
214 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
873 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
33 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
116 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
89 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
128 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
310 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
66 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
94 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, ...
-1
votes
1answer
103 views

Enabling both www and non www url for subdomains

I am currently using apache on linode to host my website. I am using a number of sub-domains each of which is accessible only with non-www url. www url gives 503 error. However, I wish my domains to ...
0
votes
2answers
84 views

Subdomain DNS isn't working

I have a domain registered with Godaddy. It has a wildcard CNAME for "www". I have tried to make a sudbomain: mysubdomain.mysite.com. However the external DNS doesn't seem to be routing at all. IN ...
0
votes
0answers
102 views

can any one help me with diagnosing subdomain issue, please?

Recently had problem with one domain, and it seems its happening again. (with another one) subdomain unavailable for few hours, when other subdomains are perfectly fine So can anyone please help me ...
0
votes
1answer
244 views

nginx ip A name subdomain alias 403 error

Context: - I have nginx listening on port 80 and serving static files (jpg,css,js, etc) - if non static files, I proxypass to Apache listening at 8080 - I use "secure_link" to protect my files from ...
-2
votes
1answer
117 views

How can count subdomains of a domain? [closed]

How can find out that how many sub-domain has a specific domain name? I used a trick that in Google by site:*.domainname.com command read total backed result. Is it accurate?
0
votes
0answers
209 views

Hi is there any way to point subdomain & sudirectory to another hosting

I have a specific problem, I have a domain -- example domain.com & I have a subdomain -- e.g -- > subdomain.domain.com My domain.com has a dedciated IP & in a subfolder of it I have ...
0
votes
1answer
70 views

subdomain unavailable for few hours, when other subdomains are perfectly fine

I just had a really alarming situation with one of the subdomains. So the problem was that one of subdomains mail.xxx.pl was unavailable (server request failure, no ping, no dig response), when all ...
1
vote
0answers
141 views

mod_rewrite after a cname

I have the domain foo.bar.example.com. foo is one of many sub-subdomains under bar.example.com. I need to capture and redirect all links at foo.bar.example.com that begin with "/special/". ...
-2
votes
2answers
94 views

how to allow users to use their own domain name to access their page [closed]

I am going to build an album website using Django 1.5. one of the feature I want to provide my members is to use their own domain name. www.albumn123.com/user/mike www.mike.com now, the site is ...
0
votes
2answers
58 views

map address mail.example.com to sendmail port 25 on example.com

I have a A record for example.com mapped to an ec2 linux instance binded to an elastic ip where I run an apache webserver and where I want to run the sendmail mail server too. I have currently set ...
1
vote
1answer
2k views

how to setup subdomains for AWS EC2 Ubuntu Instance?

I am trying to setup subdomains for my AWS EC2 ubuntu instance, but without enough knowledge I couldn't proceed anymore. I have a parked domain name example.com on a domain name service provider. My ...
1
vote
1answer
402 views

Show a 404 for not-found subdomains instead of showing root domain's content

I'm using nginx. What I'm trying to achieve: A root domain domain.com which gets contents from /var/www/domain.com A subdomain sub.domain.com which gets contents from /var/www/sub.domain.com Any ...