Serving Wordpress On Local Network with WebMatrix
Last post Jan 04, 2016 09:17 PM by ClintonGallagher
Nov 25, 2015 09:07 AM|igendreau0|LINK
New to web matrix, but not to Wordpress. I am interested in setting up a Wordpress site that is only accessible to the people on my network. Basically a small intranet. Will WebMatrix installed on a local server serve Wordpress to incoming requests from
other computers on my network, or does it only serve it to the local user on the machine where it's installed? I've used tools like MAMP before to work on Wordpress sites locally, but what I need to do now is be able to serve that Wordpress install to all
the computers on my network. Does WebMatrix out of the box do that?
Nov 28, 2015 08:44 AM|terridonahue|LINK
You'll want to install IIS on a server to accomplish this. You can use IP restrictions to ensure that only other computers on your network are able to access the site.
Jan 04, 2016 09:17 PM|ClintonGallagher|LINK
Easy answer is yes, if WebMatrix is installed on your machine and can install an instance of WordPress in an arbitrary location to test and confirm. Then the choice begin none of which require licensing Microsoft Server because all you need is a reasonably
configured machine running Windows 7 or later.
All instances of Windows have come with IIS built in. It can be activated by using Turn Windows features on or off which is on the Programs and Features Window on Windows 7. I don't remember what its called on Windows 8 or later but this is how we activate
IIS on a Windows machine. Then you install WordPress to inetpub/wwwroot.
The other option allows installing anywhere else on that machine by using the hosts file to map 127.0.0.1 to the location of your WordPress install. You would also use ipconfig /all to get the IP of the machine on the LAN and map that in the hosts file too.
If you learn to use IIS Management Console also installed on Windows machines you can create an application and give it a name.
This is somewhat archaic expertise we used to call host headers. Look this stuff up and put the pieces together because any ol' reasonably configured Windows machine will function just fine as a web server provided nobody else uses the machine to do work as
that will slow things down and such.
I also blogged about this