vhosting is based on the HTTP 1.1 "Host" header. I think Chris already said he tried vhosting using the ip address and was locked out of basic functionality, which makes sense.
You could bind a separate ip address as benoit says. You wouldn't even need two NIC's on most linuxes, you can do that wacky binding thing iirc. B. On 20 March 2013 00:09, Benoit Chesneau <[email protected]> wrote: > On Tue, Mar 19, 2013 at 5:01 PM, Miles Fidelman > <[email protected]> wrote: >> I assume that CouchDB is doing NAME-based virtual hosting, which means it's > >> [vhosts] >> 184.75.155.16:5984 = /test/_design/test/_rewrite >> > That could work if couchdb would be able to listen on multiple > interfaces. If it's your main IP then make sure to start couchdb on > 0.0.0.0 and access to the couchdb API using localhost. If not you > won't be able anymore to use it. You can also use an alias to your > main interface and bind it to an IP. > > - benoit
