How to host files by creating your own server?

Sachin Khard
Aug 11, 2021
  1. Create your server using ngrok

A). Go to ngrok.com and Signup if you don’t have

B). Download and Install ngrok if you haven’t installed earlier

C). Open terminal and move to directory where ngrok file is installed [In my case it is in Applications directory]

D). run - ./ngrok authtoken 1wZ………….66s

[1wZ………….66s — authtoken received on signup — https://dashboard.ngrok.com/get-started/setup]]

E). run - ./ngrok http file:///Users/macmini/Downloads

[This will create a server sharing all files in the directory /Users/macmini/Downloads/]

2. Now you can put your files like download.html in the directory /Users/macmini/Downloads/download.html

3. Now you can browse your files like from any machine

https://dce16f5bd1fa.ngrok.io/download.html

--

--