Forum Thread: How to Make Your Files and Website Accessible to Public Without Uploading It to Any Servers?

How to Make Your Files and Website Accessible to Public Without Uploading It to Any Servers?

-Mont3Cristo

Have you ever wished if you where able to make your files and website accessible to public without uploading it to any servers? Well it is now possible so easily.

WHAT YOU NEED?

  • Ngrok
  • Local server (like Wamp)

Ngrok

Ngrok is a multiplatform tunnelling, reverse proxy software that establishes secure tunnels from a public endpoint such as internet to a locally running network service while capturing all traffic for detailed inspection and replay.

WHERE TO GET IT?
https://ngrok.com/

WAMP
Acronym for Windows/Apache/MySQL/PHP, Python, (and/or) PERL

The WAMP stack provides developers with the four key elements of a Web server: an operating system, database, Web server and Web scripting software. The combined usage of these programs is called a server stack. In this stack, Microsoft Windows is the operating system (OS), Apache is the Web server, MySQL handles the database components, while PHP , Python, or PERL represents the dynamic scripting languages.

HOW TO USE?
Copy the files (website or any other files you need to make public) to www directory of wamp
By default it is C:\wamp\www

  • now run ngrok as administrator
  • now type in ngrok http 80

Here, 80 is the default port number of wamp server
Done!

once we run the code window should be like fig 1. It says session status online, this means our site is up online.So our website public address is the link given after Forwarding . In my case it is :

http://5d4af986.ngrok.io

So, anyone can visit our localhost using this url ,when ever our wamp server is running.This means that we can take down our server when our we don't want it to be up very easily.

Be the First to Respond

Share Your Thoughts