How to create tor domain

Step 1: Download and install Tor browser

Step 2: Install any web server.

Step 3: Create a directory where the keys will be stored

Step 4: Add the following lines to torrc found in the directory you installed tor:

HiddenServiceDir /path_to_the_directory_you_created HiddenServicePort 80 127.0.0.1:8080

Step 5: Start tor

Step 6: back up files created in your directory (public and private key)