Questions tagged [subdomain]
In the Domain Name System (DNS) hierarchy, a subdomain is a domain that is part of a larger domain.[1]
81
questions
147
votes
8
answers
180k
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 ...
86
votes
5
answers
189k
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 transparently redirect to mydomain.com:8080 and I want to ...
3
votes
2
answers
2k
views
Fix missing ssl-cert for subdomain www. using redirect or similar
We're using setup with an nginx on one machine and (currently) one application server on apache in the back.
For multiple domains we got ssl certs, but only for the domain itself. So without ...
14
votes
3
answers
26k
views
Wildcard DNS and subdomains
Let's 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 continue ...
8
votes
3
answers
6k
views
Do I have to buy a second wildcard certificate for a subdomain?
We already have a wildcard certificate for *.mycompany.com. Our network has hosts that are only reachable internally. All of them belong to the internal.mycompany.com subdomain. There is a private ...
37
votes
2
answers
95k
views
How to reverse proxy to different places depending on subdomain in Nginx?
I have multiple subdomains, all pointing to one machine, and one IP address. On this machine, I want to have nginx acting as a reverse proxy, and depending on which subdomain was used to access the ...
34
votes
10
answers
69k
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 ...
33
votes
7
answers
137k
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
3
answers
9k
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 valid-...
1
vote
0
answers
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 /some/...
39
votes
3
answers
88k
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:
-- ...
30
votes
4
answers
4k
views
Do intermediate subdomains need to exist?
If I have the hosts example.com and leaf.intermediate.example.com in DNS records for example.com, but do not have any records for intermediate.example.com itself, does that cause a problem in some ...
24
votes
3
answers
8k
views
Are DNS records private information?
Assuming you wanted to create a subdomain that points to a private location (perhaps the location of a database, or the IP address of a computer you don't want people to attempt SSH-ing into), so you ...
19
votes
2
answers
41k
views
Setting up SPF and DKIM records of a subdomain
I need to setup SPK and DKIM record for mail.mydomain.com. I have set the following at namecheap -
For SPF -
Record type :TXT
Hostname : mail.mydomain.com
Value : v=spf1 ip4:x.x.x.x ~all
For ...
7
votes
1
answer
16k
views
Adding a subdomain on Google Domains
I'm trying to create a TXT DNS record with name _acme-challenge.www on Google Domains to allow me to validate my DNS (i.e. via _acme-challenge.www.example.com). I've already validated the domain ...
6
votes
3
answers
19k
views
How to point sub-domains to different local IP
My question is the same with How to point a subdomain to local server with dynamic IP. The difference is that I do have a static IP from my ISP, I think i do not need to use DynDNS right? so what can ...
6
votes
1
answer
4k
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 -> ...
5
votes
1
answer
8k
views
Pingdom error: "No delegation could be found at the parent" when analyzing subdomain
I have a subdomain dramarsarin.crimsonandcyan.com which i wanted to point to another server. I added an A record in the zone file for crimsonandcyan.com with the host 'dramarsarin' and pointed it to ...
4
votes
5
answers
2k
views
is wildcard ssl insecure?
Is there anything inherently more insecure about using a wildcard SSL certificate over a regular SSL certificate?
We are looking to implement a subdomained web application (a la FreshBooks and ...
4
votes
1
answer
2k
views
Redirect all subdomains to main domain with HTTPS without a wildcard cert (nginx)
I have a domain name with a main site and a few vhosts. I want all sites (main and vhosts) to only be accessible through HTTPS (using HSTS), and I want non-existing subdomains to be redirected to the ...
3
votes
2
answers
10k
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
name2....
0
votes
2
answers
767
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 ...
96
votes
4
answers
240k
views
Does each subdomain need its own SSL certificate?
I am creating a websocket server which will live on ws.mysite.example. I want the web socket server to be SSL encrypted as well as domain.example to be SSL encrypted. Do I need to purchase a new ...
28
votes
1
answer
11k
views
Amount of allowed subdomains in domain and email
How many subdomains can you have on your domain? And with that, I mean levels of subdomains.
For example, you have the domain example.com, I know you can have test.example.com, but how many levels ...
23
votes
4
answers
52k
views
How to create an SSL certificate for more than one subdomain?
I'm running a server "myserver.net", which has the subdomains "a.myserver.net" and "b.myserver.net".
When creating (self-signed) SSL certificates, I have to create one for every subdomain, containing ...
20
votes
2
answers
39k
views
How many sub-domains can there be at most?
Is there a limit for number of subdomains like "*.domain.com"?
18
votes
1
answer
52k
views
nginx proxy subdomains to other addresses and ports [closed]
I'm newbie with nginx, but I need to create some proxy rules based on the subdomain to redirect to another IP and Port.
This is my case:
My domain.com has IP y.y.y.y and accepts requests on port 80
...
14
votes
2
answers
2k
views
Should engineering have its own DNS zone, delegate, or subdomain?
We have our organization's primary domain (with AD) example.com. In the past, previous admins have created several other zones - such as dmn.com, lab.example.com, dmn-geo.com etc - as well as ...
14
votes
2
answers
23k
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 [email protected] using Google Apps. The MX records for example.org already point to Google's servers and it ...
10
votes
4
answers
50k
views
Redirect subdomain.example.org to somethingelse.com hidden to the user?
I'm not knowledgeable at all about C-NAMES, A-RECORDS, name servers and the like, so just bear with me on this one:
I want to redirect subdomain.example.org to another domain somethingelse.com. I do ...
8
votes
1
answer
17k
views
DKIM and SPF for a subdomain
I manage a VPS on Linode accessed through subdomain.example.com and I need to send email from this subdomain. I can't set any TXT records in Linode DNS manager because the name servers for example.com ...
8
votes
1
answer
16k
views
Wildcard for A and MX records possible?
I'm building an app where each customer can have their own subdomain.
For this example, he setup his subdomain to be: whisky
I created a wildcard subdomain in my DNS:
*.myapp.example A 192.0.2.123
...
7
votes
2
answers
2k
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 ...
6
votes
4
answers
14k
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 subdomain....
5
votes
3
answers
5k
views
Wildcard DNS, VirtualHosts on apache2, 404 for unused subdomains
On an Apache2 server linked to by a DNS that includes a wildcard entry, e.g. *.example.com, subdomains that are not defined as ServerNames in any VirtualHosts point to the first defined VirtualHost, ...
5
votes
3
answers
6k
views
nginx: redirect subfolder to subdomain
I'm trying to redirect a subfolder to a subdomain in nginx. I want http://example.com/~meow/ to be redirected to http://meow.example.com/. I tried the following:
location ~ ^/\~meow/(.*)$ {
...
4
votes
4
answers
1k
views
Is a wildcard SSL required for a single subdomain?
A typical SSL cert is based on a common name for the domain (domain.com) sometimes (www.domain.com) as well.
I understand what a wildcard cert is used for (*.domain.com) and it would/should validate ...
3
votes
1
answer
1k
views
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 ...
3
votes
1
answer
11k
views
How to setup a subdomain on nginx? [closed]
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 ...
3
votes
2
answers
4k
views
Apache2 dynamic documentroot depending on URL
I have looked at setting up an Apache server.
I want to run our site example.com on the server, as well as testing test.example.com.
This I can setup by having two almost identical VirtualHost in ...
3
votes
3
answers
4k
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 ...
3
votes
1
answer
1k
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 ...
3
votes
1
answer
2k
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 account,...
3
votes
1
answer
7k
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 ...
2
votes
2
answers
2k
views
How to manage multiple sites on the same server with Nginx?
I have 2 sites on the same Nginx server.
My first site https://www.example.com all the following addresses must redirect to this domain:
xx.xx.xx.xxx
http://example.com
http://www.example.com
...
2
votes
1
answer
1k
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 ...
2
votes
4
answers
5k
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 ...
2
votes
3
answers
7k
views
How to test new nameserver before to make it live [duplicate]
Possible Duplicate:
Testing nameserver configuration using it
I'm thinking of changing from my hosting provider nameservers to Route53 (Amazon's distributed nameserver) for several reasons.
I'm ...
2
votes
1
answer
22k
views
Subdomains not working on nginx
I decided to give a try to nginx, however it seems I am stuck at the really beggining. I have a server running Debian and I am trying to configure nginx with 1 domain + 2 subdomains. When I access the ...
2
votes
2
answers
7k
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 ...