Low Vision Computing

< Work From Home  Home  Audio Screen Reader >

Add A Web Server

Whether you just want to do some volunteer work creating a web site for a local organization, or you want to get into serious web development, adding a web server to your computer provides you with the opportunity to do the development work without needing a web hosting account.

It also makes it easier to test web sites locally before uploading your files to a "real" web hosting company server.

Installing a web server when you're running linux is really easy - most linux distributions contain web, ftp, mail, and other servers, with a ckick-to-install GUI.

Windows ... not so much. There are two main web servers out there (Microsoft's IIS doesn't count because almost nobody uses it)
  1. Apache Web Server (link)

  2. nginx Web Server (link)
Do NOT use the Bitnami WAMP Stack. It has problems, and doesn't uninstall properly.

Much the same applies to WampServer and XAMMP.

That's why I opted for nginx. It's hard to set up, you'll be fiddling around a bit to the get php cgi interpreter set up, but once it's running, it works like a charm.

Once you get your web server running, you can point your web browser to it by entering your computer's ip address in the browser.

Since most users will be running Windows, here's how to do it:
  1. Make sure you've started your local web server.
  2. Open up a command prompt.
  3. Type "ipconfig /all" (note: there's a space before the "/all") and press enter.
  4. You should see your local machine's network address as follows:
    IPv4 Address. . . . . . . 192.158.0.nnn (where "nnn" is a number between 0 and 255).
  5. Enter that number in your web browser, wireless tablet, or smartphone to open your local web site (if you haven't installed any web pages, you should see a default page).
You can use any plain text editor to create your web sites.

When it comes time to upload your creations, you can use either your web host's cPanel web interface, of an FTP (File Transfer Protocol) program to upload your site to the public-facing web server.

Linux comes with many FTP programs. For Windows, you can use the free WinSCP. (link)

< Work From Home  Home  Audio Screen Reader >

Copyright © 2022, 2023 by Barbra Hudson.
Email: barbra@lowvisioncomputing.com

You may freely use the ideas expressed on this site. You may NOT frame or copy any of the content for use on your own web site or other purposes without permission, except for short snippets for editorial review purposes, in which case you need to:

  1. credit the author;
  2. prominently display a clickable version of the main site's url.

You may not pretend or represent that you created either the content or the concepts embodied herein.

Any sort of framing or embedding of this site, in whole or part, is expressly forbidden.

"AI/chatGPT EXCLUSION CLAUSE"

In addition to the above, under no condition is this site, or any of its' contents, to be accessed, used, or otherwise employed by or used to train AI (so-called "Artificial Intelligence" programs) LLMs (Large Language Models, such as chatGPT), or other similar programs, products or services, including smaller specialized generative or associative/pattern generative or non-generative models.