10

Can .onion sites have subdomains (e.g. subdomain.abcdefghijklmnop.onion/) or do the naming protocols prevent this?

It appears to have been suggested in 2012, and the developers (or someone) say they wanted to implement it. But I haven't seen anything else

0

2 Answers 2

9

Yes they can! For example, try http://whatever.bitmailendavkbec.onion which is the Bitmessage onion service with an arbitrary subdomain.

Not that the subdomain is not transmitted between the Tor client and the onion server. It's the browser that sends the full host (including the subdomain) to the webserver in the request's Host header, so protocols othe than HTTP(S) won't work.

0

At the moment it is not possible to have subdomains. Tor calculates the domain name of the hidden service from different parameters. To have a memorable, secure and global name would contradict Zooko's triangle and seems not possible at the moment.

1
  • 1
    Subdomains don't contradict Zooko's triangle at all, they are still not memorable. forum.adlfha1nd8szm.onion is not more memorable than adlfha1nd8szm.onion/forum. The reason for this to not exist is due to it not being implemented (and its a low priority)
    – puser
    Commented Apr 28, 2014 at 13:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .