my own website

Making Your own Site without any Hosting Providers using Ngrok

Have you ever wondered what if our localhost can be turned into a public address and can be accessed by everyone on the internet? Today it is really possible using simple steps, thanks to Ngrok that is very easy to use and very stable. With the help of ngrok, we can simply turn our localhost into public url, even in free plan or no cost at all. This will save you a lot of money if you just want to deploy a website for a testing purpose. You can also make a serious website using this tool if you have a powerful server and planned to make a site using that server.

Making Your Localhost Accessible through the Internet

  1. First of all, you need to prepare your localhost environment and make sure your site is running well in localhost. Let’s say I have my website running in localhost/mywebsite.
    MY WEBSITE
  2. Let’s download ngrok here.
  3. Extract the files anywhere in your computer.
  4. Open Windows Command Prompt (cmd), then point to the folder location of the downloaded ngrok app.
  5. Inside the folder, type : ngrok.exe http 80
    set up ngrok
  6. If successful, you will see something like this :
    ngrok started
  7. Note the forwarding section. Now lets check it out on the browser. In my case, I will type https://d36fa284.ngrok.io/mywebsite.
    my website from ngrok
  8. Yass, it is so simple to make your localhost accessible through the internet. You can definitely access the url anywhere from the internet. Basically, ngrok has turned your localhost into a public site, in my case it is accessible through https://d36fa284.ngrok.io. You can also check your other sites inside htdocs folder by accessing https://d36fa284.ngrok.io/<any project folders inside htdocs>.
  9. You can also check the activity log of your site by accessing localhost:4040.

That’s it about how to make your localhost accessible from the internet. For more details about ngrok in order to get more customization, you can check it on ngrok.com/docs. For example, you can set up custom domain, get a stable url all the time, create custom subdomain, and much more.

100 comments

  1. skäggolja Gör skägg mjuk

    This post was amazing i read your blog pretty often, and you’re consistently coming out with some great stuff.
    I embedded this on my facebook, and my followers loved it.
    I really admire the good work 🙂

  2. Smellgood

    This post was amazing i actually read your blog pretty often, and you’re always coming out
    with some great stuff. I embedded this on my blog, and my followers
    adored it. Keep up the great work 🙂

  3. skäggbalsam

    This post was amazing i try to read your blog pretty often,
    and you’re always coming out with some great stuff.

    I contributed this on my facebook, and my
    followers adored it. I really admire the great work 🙂

  4. smellgood stockholm

    I loved this post! i try to read your blog very often, and you’re constantly coming out with a
    lot of great stuff. I contributed this on my blog, and my followers
    really liked it. Continue the very good work 🙂

  5. www.smellgood.se/

    I loved this post! i actually read your blog pretty often, and you’re always coming out with a lot of great stuff.
    I embedded this on my fb, and my followers loved it.
    I really admire the great work 🙂

  6. skäggolja

    I really liked this post i read your blog fairly
    often, and you’re consistently coming out with a
    lot of great stuff. I shared this on my facebook, and my followers loved it.
    I really admire the great work 🙂

  7. Skäggvård

    This post was amazing i try to read your blog pretty often, and
    you’re consistently coming out with some great stuff.
    I contributed this on my facebook, and my followers adored it.
    I really admire the very good work 🙂

  8. smellgood stockholm

    I really liked this post i actually read your blog fairly
    often, and you’re constantly coming out with pretty great stuff.
    I contributed this on my facebook, and my followers adored it.
    Continue the great work 🙂

  9. smellgood.se/

    This post was amazing i actually read your blog very often, and you’re consistently coming out with a lot of great stuff.
    I contributed this on my fb, and my followers loved it. Continue the very good work 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *