Tag

virtual-hosts

v

Accessing localhost and Virtual Hosts Across a Local Network

A

I have several computers on my local network each with a local server environment provided by XAMPP. As it stands, the local server on each computer can only serve pages stored on that machine. This means that if I have a local site on computer A that I wish to access on computer B I have to replicate that site’s entire folder structure on computer B and on all other computers I want to access the site from.

No big deal really as I currently use ChronoSync to synchronise my site’s folder structure across computers. However, it is possible to have any computer on a local network serve pages that are stored on another computer on that same network. Here’s how.

(more…)

Configuring Virtual Hosts in XAMPP on Mac OS X

C

A while back I posted about configuring virtual hosts in MAMP. More recently I noticed that MAMP hadn’t been updated in nearly a year and their support forum resembled a wilderness. Thinking that maybe the writing was on the wall for MAMP I started looking for an alternative and came across XAMPP.

XAMPP provides a similar local server environment to MAMP, but configuring virtual hosts is a little different. Unlike the Pro version of MAMP , XAMPP doesn’t have a nice GUI to allow virtual hosts to be configured easily. So, there is no alternative but to do it manually.

(more…)

Configuring Virtual Hosts in MAMP on Mac OS X

C

If you need to easily set-up and maintain a local server environment on your Mac then look no further than MAMP. MAMP comes with Apache, MySQL and PHP and provides a local server environment that is independent of that installed as default by Leopard and best of all it’s free.

However, like any server environment, out-of-the-box you’re limited to a single local host. This can prove a little inconvenient if you’re developing more than one site and require more than one local host. The most convenient and cost effective way to overcome this limitation is to use virtual hosts.

(more…)

Recent Comments

Recent Posts

Archives