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)

9
votes
3answers
6k views

Wildcard DNS and subdomains

Let'say that i've got the domain mydomain.com. I want that when any visitor goes to www.mydomain.com xyz.mydomain.com abc.mydomain.com asd.mydomain.com qwe.mydomain.com etc... the visitor will ...
12
votes
4answers
13k views

How do I redirect subdomains to a different port on the same server?

I have some subdomains I want to redirect to specific ports on the same server. Say I have dev.mydomain.com I want dev.mydomain.com to redirect to mydomain.com:8080 how do I do this with Apache ...
1
vote
0answers
1k views

Apache .htaccess trick to authenticate only once for all subdomains? [duplicate]

Possible Duplicate: Apache .htaccess trick to authenticate only once for all subdomains? I'm using something like this in .htaccess file to restrict access to the website: AuthUserFile ...
1
vote
3answers
2k views

Apache .htaccess trick to authenticate only once for all subdomains?

I'm using something like this in .htaccess file to restrict access to the website: AuthUserFile /some/directory/.passwd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require ...
5
votes
1answer
900 views

Redirect all subdomains to subfolders

I'd like to add a rule so that all subdomains get redirected to a subfolder. For example: app1.example.com -> example.com/app1 app2.example.com -> example.com/app2 something.example.com -> ...
4
votes
2answers
6k views

Wildcard vhosts on Nginx

I've just installed Nginx on my server and am extremely happy with the results, however I still cannot figure out how to insert wildcard virtual hosts. This is the [directory] structure I'd like: -- ...
3
votes
2answers
3k views

How do I configure IIS 7 (discount asp.net) to point subdomains at application subdirectories?

I have an discount asp.net account, which uses IIS 7 and I want to configure subdomains to point at specific applications on the site. For instance: 's1.site.com' would run the application at ...
4
votes
4answers
2k views

How to set up a DNS to use a catch-all address?

This is not really a programming question, it's more about settings that I can alter visually. I have bought a domain and am wondering how I can get it work in such a way that everything before the ...
1
vote
1answer
944 views

.htaccess - redirect non www to www and retain subdomains from redirecting

So, on my main domain 'domain.com' I created several subdomains from cPanel, like 'sub1.domain.com' and 'sub2.domain.com'. Their real location on server is in 'domain.com/sub1' and 'domain.com/sub2'. ...
1
vote
4answers
374 views

Adding dynamic subdomains to my webserver?

I'm trying to add a wildcard sub-domain system to my web server, but its still not working, These are the steps I took: I made a new file, vhost.conf, in the directory ...
1
vote
2answers
2k views

Is there a way to forward a port based on subdomain? [duplicate]

Possible Duplicate: How to use DNS to redirect domain to specific port on my server Basically I want to have something like this: name1.mydomain.com:1234 -> my.internal.ip.address:10001 ...
0
votes
1answer
1k views

pfSense router gives DNS rebinding warning when accessing subdomains

I have just set up a router running pfSense on our network and forwarded the appropriate ports. I have a small web server running in my network, and a domain name pointing to our (WAN) IP. When ...
0
votes
1answer
180 views

Subdomains. How do you do development with subdomains?

I am currently building an web app which also utilizes websockets. (Rails for webserver and Nodejs for socket.io) I have structured my application to use subdomains to separate between connection to ...
0
votes
1answer
559 views

Redirect subdomain virtual host subdomains to path

I used Apache's virtual host for a ton of subdomains for greptweet.com, where each twitter username is a subdomain, like <username>.greptweet.com. Problem is ... subdomains can't have ...
0
votes
2answers
63 views

different hosting account, same URL?

Our client has a website at www.myclient.com. They want a new site created at www.myclient.com/newsite and for us to host it. Is it possible to have www.myclient.com hosted on one server/network and ...
17
votes
6answers
12k views

Wildcard SSL certificate for second-level subdomain

I'd like to know if any certificates support a double wildcard like *.*.example.com? I've just been on the phone with my current SSL provider (register.com) and the girl there said they don't offer ...
6
votes
7answers
10k views

How do you have one IP address and many websites?

How can I have it where I have one IP address that sits on the Internet but many web names? For example, when a hosting company has a shared IP but I get unlimited domain names (along with everyone ...
2
votes
1answer
494 views

Is it possible to configure Nginx to allow for new domains to be added without me having to add a VirtualHost for each?

I have a SaaS application wherein users can enter their domain names. The application uses the hostname of incoming requests to determine the account based on the domain they entered for their ...
2
votes
2answers
349 views

Automate creation of subdomain(xyz.serverfault.com)

What’s the best way to automate creation of subdomains (like Basecamp)? My requirement is somewhat similar to Basecamp where users request for a subdomain from a page and I create it for them from ...
2
votes
1answer
638 views

DNS configuration : sub-domains pointing to different IP

I would like to know if this type of domain and subdomain organisation for our school is feasable, and if so, how. We have 2 different servers, say SERVER1 and SERVER2 SERVER1 is for school-critical ...
7
votes
3answers
2k views

Is a wildcard DNS record bad practice?

I asked my hoster to add three subdomains all pointing to the IP of the A record. It seems he simply added a wildcard DNS record because any random subdomain resolves to my IP now. This is OK for me ...
6
votes
2answers
6k views

How many sub-domains can there be at most?

Is there a limit for number of subdomains like "*.domain.com"?
2
votes
2answers
2k views

Redirecting to other internal servers based on sub domain

Here is my situation home network, windows machines, 1 external facing IP address (that allows port 80) 1 windows home server always on machine, planning on upgrading to WHS 2011 soon. several IP ...
1
vote
2answers
543 views

Configure apache2 virtual host subdomain

I have configured apache2 virtual host with a sub domain in the following way: /etc/apache2/sites-available/website: <VirtualHost *> ServerName website.local ServerAlias sub.website.local ...
1
vote
2answers
341 views

Subdomain on apache

I'm looking at something like this: http://serverfault.com/questions/22632/multiple-domains-including-www-subdomain-on-apache And I'm too dumb to figure out how to get 1 subdomain to direct to 1 ...
0
votes
1answer
87 views

How can I run a second site in Azure while sharing the domain?

I have a site running on Azure built in ASP.NET MVC. Part of the site is effectively a marketing site with mostly static pages, the rest is the dashboard that our users log into to use the product. ...
8
votes
3answers
3k views

Second Level Subdomain DNS Wildcard

I need help setting up a second level subdomain. I have set up wildcard subdomains in the past with success, but I am having trouble with the DNS entry for this one. I need to do something like ...
3
votes
1answer
794 views

Apache mod-rewrite rule to change subdomain.domain.tld to domain.tld/subdomain

What would the rewrite rule be to change subdomain.domain.tld to domain.tld/subdomain? Or should I look at a VirtualServer directive to take subdomain.domain.tld and serve it from a DocRoot that ...
2
votes
4answers
3k views

DNS Subdomain delegation issue

(Updated the post with more detailed example) I have my domain: example.com setup at DNS provider 1. Provider 1 has nameservers: ns1.dns1.com ns2.dns1.com I want to delegate authority for ...
2
votes
0answers
95 views

How to set up a DNS to use a catch-all address? [duplicate]

Possible Duplicate: How to set up a DNS to use a catch-all address? This is not really a programming question, it's more about settings that I can alter visually. I first asked this at ...
1
vote
3answers
989 views

How to configure bind for a private subdomain?

I am attempting to define a subdomain for a private network (RFC1918) behind a NAT firewall; let's call it priv.example.com. Normally, and from what I can gather on various websites, this could be ...
1
vote
1answer
1k views

How to point a subdomain to local server with dynamic IP

I see there are many related questions to this one, however the answers given seem to be a little vague for a novice like me. I've got a dedicated LAMP stack running Fedora 16 locally on my home ...
1
vote
1answer
69 views

Website on a Windows server have a subdomain on a Linux server?

I have a website zacharyhodge.com and I would like to have a subdomain for a blog at blog.zacharyhodge.com. Now, I enjoy working with Windows server-side technologies on my main site, but I would ...
1
vote
1answer
503 views

Localhost subdomains with Bind9

So, following this question here and a number of other questions about subdomains on localhost, we learned that /etc/hosts isn't capable of handling wildcard routes and we need a DNS system. Ok, I ...
1
vote
2answers
2k views

Config Subdomain to point to heroku app

I have to host a subdomain of my domain to heroku app. For example abc.com points to a Hostgator account. I want to configure app.abc.com to heroku app. The domain is registered with godaddy. Can ...
1
vote
1answer
930 views

Redirect subdomain to subdomain on new domain

I own 2 domains sio-india.org and sio-india.com What i want to do is redirect all the subdomains from 1st domain to 2nd domain. eg. home.sio-india.org to home.sio-india.com but i dont want to ...
1
vote
4answers
2k views

DNS not resolving for *some* people/locations

We created a new sub-domain (via A record) but it is not resolving for everyone. It's been working for me and some others for about a week, but others still cannot access the site. I don't think ...
1
vote
1answer
492 views

Apache Rewrite to subdomain internally only

I searched web for several days but didn't found solution for my problem. Lets say I have a web application (written in Ruby on Rails with apache passenger mod) running at mydomain.com All I need is ...
0
votes
1answer
24 views

Nginx not catching subdomain

I have added a subdomain: http://vma.ottawakaraoke.com/ However it is serving back the root of an entirely different subdomain. Its serving up the content from http://summitent.ca/ - a totally ...
0
votes
1answer
125 views

Ghost subdomain in Apache with CentOS

I'm trying to set up Ghost the blogging platform on my CentOS (6.5, x64) server with Apache and... I think I mixed together my domain (www.example.com) with the Ghost subdomain (blog.example.com). I ...
0
votes
1answer
57 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 ...
0
votes
1answer
101 views

Adding cname without putting the subdomain

I want to point www.example.com or example.com to abc.example2.com. In my cname zone settings for example.com, I have added a cname as follows: name: www.example.com type: cname value: ...
0
votes
1answer
1k views

Configuring a Domain Controller for an Internal Domain in Windows Server 2012

I'm looking to create a domain called "developer.domain.com" to join computers to. I need to make a domain controller for this domain in Windows Server 2012, this is my first time. What are the ...
0
votes
3answers
202 views

How to test new nameserver before to make it live [duplicate]

Possible Duplicate: Testing nameserver configuration using it I'm thinking to leave my hosting provider NS's for Route53 (amazon distributed nameserver) for several reasons (and since I ...
0
votes
2answers
1k views

SSL and domain masking

Ok, my scenario is interesting. What I want to do is create multiple subdomains for a give url. For example subdomain1.domain.com and subdomain2.domain.com. I plan to buy an SSL certificate that ...
0
votes
1answer
130 views

Subdomains from folders on Apache

I have a website on localhost, mapped in HOSTS as: 127.0.0.1 www.yorkshiretestingwebsite.com 127.0.0.1 yorkshiretestingwebsite.com However, the folder (C:/www/vhosts/yorkshiretestingwebsite.com) ...
0
votes
2answers
656 views

Assigning subdomain to a subfolder of ASP.NET application

I have an ASP.NET Web Application running at http://www.mydomain.com. We want to set up http://company.mydomain.com and point it to a subfolder of the ASP.NET application. When we do this, we get ...
0
votes
1answer
324 views

Domain A to Domain B, CNAME MAPPING

I have an account with NING where i have a social network setup as "networkname.ning.com" and i have a domain from netfirms www.somedomain.com. My problem is that the ning network is telling me that i ...