WebFaction
Community site: login faq

Hi,

is it possible to setup domains like that *.foo.example.com?

asked 25 Feb '11, 05:41

Pavel Reznikov
1824
accept rate: 0%


Right now, no.

Regular wildcard subdomains - e.g. *.example.com - work correctly, but not sub-sub-domains (that can't be the right terminology, can it?).

One reason for this is that it domain resolution can ambiguous. For example, if you set up the domains and added them to different sites.

  1. *.example.com
  2. foo.example.com
  3. *.foo.example.com

All seems fine, until you want to visit one of these. So if you loaded up foo.example.com in your browser, which site you expect to land on? It would be which ever came first in the web server config.

This ambiguity makes it tricky do this right. That and the almost complete lack of demand for this :)

permanent link

answered 25 Feb '11, 05:52

David L ♦♦
1.4k13
accept rate: 45%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×30
×17

question asked: 25 Feb '11, 05:41

question was seen: 4,212 times

last updated: 25 Feb '11, 05:52

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM