I installed Tor on my Linux CentOS and edited torrc configuration file, setting the hidden service directory (HiddenServiceDir).

After some time it happen that i changed this directory in Tor configuration file torrc and restarted Tor. It appears that my hidden service has new .onion address and old one do not show my webpage. So my question is, please how i can have my previous onion address again?


Basing on official docs you should copy-paste content of old HiddenServiceDir to your new HiddenServiceDir location (you should overwrite new ones). There are only two files: hostname and private_key.

Probably you'll need root privillages to do it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.