They just have to do exactly the same thing they have done with your .net domain. Some web hosting provider will be compatible with .bit sites and some won't be. Those incompatible will need to do manual things to add a .bit domain (because their standard interface is not designed for that).
For apache, there are several possibilities.
In short : make a link between a directory and a hostname.
Here are 2 examples :
Code: Select all
<VirtualHost *:80>
DocumentRoot /www/yourdomain.bit
ServerName www.yourdomain.bit
</VirtualHost>
Read data from /var/www/yourdomain.bit or /var/www/yourdomain.com or /var/www/xxx.net depending on the domain used by the visitor :
Code: Select all
<VirtualHost *:80>
UseCanonicalName Off
VirtualDocumentRoot /var/www/%0
</VirtualHost>
If you want bind to reply for your zone (if you use ns/dns records in namecoin. Using ip avoid you this step but apache must be configured for each subdomain...), add your .bit domain (like any other domain) to bind :
Code: Select all
zone "frozen.bit" { type master; file "/etc/bind/zones/frozen.bit"; allow-query { any; }; };
Then, put a normal bind zone in the file "/etc/bind/zones/frozen.bit".
ps : if they want to resolve all .bit domains on their dns servers, that's another problem :p