Make 10 HTTP Web Servers in Just 10 Minutes
1. Chrome Web Server
Visit this link and install the Chrome App -
Chrome Web Server
Then launch the app and point out your desired directory from inside which you want to serve your content. Finally it will show you the ready URL something like this -
2. Python 2
You can use the Python2’s built in module named SimpleHTTPServer
. Just issue the following command in your terminal from inside your document directory.
python -m SimpleHTTPServer 8000
And visit - http://localhost:8000
Reference - Python Official Website
3. Python 3
You can also use the Python3’s built in module named http.server
. Just issue the following command in your terminal from inside your document directory -
python -m http.server
And visit - http://localhost:8000
Reference - Python Official Website
Read more →