I have a hidden service with a normal onion address created by the tor program. I then made a vanity address using Scallion and added this to my Tor configuration as a second hidden service but pointing it to the same server directory, ie they are both showing the same page, which is what I intended.
However, this vanity onion address stops working intermittently, usually it works for a few days and then goes blank, giving an "Unable to connect" error in the Tor browser. I have located the problem to Tor and I can solve the problem by erasing the vanity hidden service, restarting Tor and then manually adding the vanity hostname and private_key again. But I would like a more durable solution. As far as I can see there is nothing suspicious in the Tor logs.
Anyone have any idea as to what can be causing this?