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)

1
vote
2answers
1k views

Plesk - Forward subdomain to another port [closed]

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
92 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
63 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
307 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
488 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
194 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 ...
22
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
63 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 ...
4
votes
1answer
822 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
85 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
140 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 ...
-1
votes
1answer
918 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
85 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
505 views

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

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
41 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
455 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
568 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
1answer
50 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
257 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
283 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
2k 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
278 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
1k 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
43 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
145 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
110 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
156 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
366 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
2answers
137 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
37 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
142 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
88 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
118 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
309 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
155 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
316 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 ...
1
vote
0answers
188 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
142 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
76 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 ...
2
votes
1answer
3k 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
602 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 ...
1
vote
0answers
124 views

Mass virtual hosting and subdomain

I'm trying to setup zero-config web-development environment: wildcard DNS plus dynamic virtual hosts. Here is my v-hosts config: NameVirtualHost *:80 <VirtualHost *:80> ServerAlias *.dev ...
1
vote
2answers
87 views

Verify Certificate for subdomain without access to root domain

We want to replace an expired certificate for a subdomain hosted in its own server, for example: department.area.city.gov We just have control over that server and subdomain. Because of security ...
1
vote
1answer
121 views

Two apache servers using same port?

so I have two apache servers on the same system. Basically what I'm trying to figure out is if since I have 2 different IPs running on my system is it possible to have two different apache servers ...
1
vote
2answers
911 views

Hostname or subdomain? [duplicate]

I understand that, in the direction "webmail.chemistry.iit.edu", "chemistry" is a subdomain and "webmail" the hostname. Then, why in "mail.google.com", according to Google's documentation, is "mail" a ...
0
votes
2answers
702 views

My registrar is OVH, my hosting is AlwaysData, how do I configure the DNS?

I own at OVH: xxx.mydomain.com I want it as an alias for: yyy.alwaysdata.net How do I proceed? In the end, I want all requests to : xxx.mydomain.com/whatever returning the same as: ...
0
votes
2answers
85 views

Configuring the domain for a server: hostname vs. subdomain / should the hostname be in DNS?

I'm inexperienced with server administration and in the process of learning how to properly assign a domain name to a server. I'm trying to figure out if I should enter the server's hostname into the ...
0
votes
1answer
511 views

htaccess subdomain Redirect issue

I am trying to build a wordpress site with mobile. I have set the sub-domain in httpd.conf and htaccess. now i add some custom search in a e:\wp\custom\ folder, another mobile custom search in ...
0
votes
1answer
1k views

Nginx subdomain proxypass

I want to redirect non-ssl traffic to ssl for all subdomains. I want to keep the subdomain the same. I want to specify a different proxy_pass for staging.foo.com. I only have 3 things going right now ...