Multimedia Design

Set up simple webservers

Here are two ways to test your webpages on simple servers. Open a terminal window in the folder you want to share on the LAN:

# python -m SimpleHTTPServer 8000

If you have PHP installed on the system, here’s another method:

# php -S localhost:8000

You can also run your php files, and read the error messages if there should be any errors in your code.

But beware … these simple servers are only meant for development. The methods are not secure at all. So use them wisely.

In both cases – can open your favorite browser in http://localhost:8000.

By Per Thykjaer Jensen

Per is the WordPress expert at Business Academy Aarhus. Senior Lecturer at the Multimedia Design Programme. His background is in the Arts: MA Literature History and BA Art History. Later he added a MA in IT, interaction and Multimedia. And he is a wicked Linux user.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

We use cookies - is it ok with you+ more information will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies.