<html>
<body>
<br>
Hey it works. Thanks guys. <br><br>
By setting httpd.conf virtuals in my development machine to
dev.xxxxx.com, etc, and including a hosts file in my Windows box I can
access both my development and production sites concurrently.<br><br>
Thanks again<br><br>
Alison&nbsp; <br><br>
<br>
At 04:29 PM 6/02/2012, you wrote:<br>
<blockquote type=cite class=cite cite=""><font size=2>What Earnie
described is totally the simplest and easiest way to handle this:<br>
</font>&nbsp;<br>
<font size=2>In both machines' /etc/hosts<br>
</font>&nbsp;<br>
<font size=2>127.0.0.1&nbsp;&nbsp;&nbsp; localhost&nbsp;&nbsp;&nbsp;
whatever<br>
192.168.1.1&nbsp;&nbsp;&nbsp; prod server1.prod&nbsp;&nbsp;&nbsp;
server2.prod&nbsp;&nbsp;&nbsp; server3<br>
192.168.1.3&nbsp;&nbsp;&nbsp; dev&nbsp;&nbsp;&nbsp;
server1.dev&nbsp;&nbsp;&nbsp; server2.dev&nbsp;&nbsp;&nbsp; server4<br>
</font>&nbsp;<br>
<font size=2>... etc.<br>
</font>&nbsp;<br>
&nbsp;<br>
&nbsp;<br>
&nbsp;<br>

<dl>
<dd>----- Original Message ----- <br>

<dd>From:</b> <a href="mailto:alison@ssrv.org.au">Alison</a> <br>

<dd>To:</b> <a href="mailto:support@drupal.org">support@drupal.org</a>
<br>

<dd>Sent:</b> Sunday, February 05, 2012 10:23 PM<br>

<dd>Subject:</b> Re: [support] Accessing multiple virtual sites on a
development machine<br><br>
<br>

<dd>My old server was running Centos 5.7, which didn't support the latest
Intel Express chipset very well, hence the upgrade to Centos 6.2. Have
now upgraded the development machine also to Centos 6.2 as well.
<br><br>

<dd>So I have 2 machines on the same network, both running Linux and both
having five virtual Apache based Drupal websites, with the development
machines replicating the production one in every respect. Use static IP's
for both - production on 192.168.1.1 and development on 192.168.1.3. With
a Windows 7 machine at 192.168.1.2, which I use for access. What I would
like to do is make changes to the development systems, and when I'm happy
migrate the changes to the production machine.<br><br>

<dd>Alison<br><br>
<br><br>
<br>

<dd>At 03:09 AM 6/02/2012, you wrote:<br>
<blockquote type=cite class=cite cite="">
<dd>For Windows machines, I suggest using Acrylic DNS proxy to handle the
DNS for multiple sites. I've got info on it here:<br><br>

<dd><a href="http://drupal.org/node/32715#comment-2579138">
http://drupal.org/node/32715#comment-2579138</a><br><br>

<dd>Basically all my client sites on the devel machine get the TLD .dev
(ie: mysite.dev) . I've been doing this for a few years now and love
it.<br><br>
<br><br>

<dd><pre>Jamie Holly

<dd><a href="http://www.intoxination.net">http://www.intoxination.net</a> 


<dd><a href="http://www.hollyit.net/" eudora="autourl">
http://www.hollyit.net</a></pre><font face="Courier New, Courier"></font>
<br>

<dd>On 2/5/2012 11:04 AM, L.J.Bos wrote: <br>
<blockquote type=cite class=cite cite="">
<dd>You can download MAMP / XAMPP or WAMP for free. Follow the
instructions and you can access any (dev) site. Will take you about 15
minutes. <br><br>

<dd>Regards,<br><br>

<dd>Eljay<br><br>

<dd>On Sun, Feb 5, 2012 at 2:46 AM, Earnie Boyd
&lt;<a href="mailto:earnie@users.sourceforge.net">
earnie@users.sourceforge.net</a>&gt; wrote: 
<dl>
<dd>On Sat, Feb 4, 2012 at 5:26 PM, Alison
&lt;<a href="mailto:alison@ssrv.org.au">alison@ssrv.org.au</a>&gt; wrote: 
<dd>&gt; Hi, having spent the last few days building a new Centos 6.2
(RHEL 6) webserver and migrating 5 low-traffic Drupal virtual sites to it
- successfully, now looking to use the old server as a development
machine. Brain is a bit worn out so this may seem a silly question, but
how can I access the development machine sites? Localhost just gives me
the first Apache default listed site, and using the domain names takes me
to the new server. Tried listening on a different port, didn't help, nor
did using 127.0.0.1 - loopback. Must be an easier way than setting up a
local DNS server and changing development machine domain names. 
<dd>&gt; 
<dd>&gt; Suggestions please. 
<dd>&gt;
<dd>Add your dev sites to the /etc/hosts file.
<dd>127.0.0.1 <a href="http://dev.site1.com">dev.site1.com</a> 
<dd>127.0.0.1 <a href="http://dev.site2.com">dev.site2.com</a> 
<dd>etc.
<dd>How are you accessing the dev sites?&nbsp; I mean are you using a
browser 
<dd>housed on the same host as the server or are you accessing from a 
<dd>different client?&nbsp; You'll need to add the same entries in the
client 
<dd>hosts file, if that is a windows PC it will be something like 
<dd>c:\windows\system32\drivers\etc\hosts.<font color="#888888"> 
<dd>-- 
<dd>Earnie 
<dd>--
<a href="https://sites.google.com/site/earnieboyd">
https://sites.google.com/site/earnieboyd</a></font> 
<dd>-- 
<dd>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]
</dl><br><br>
<br>

<dd>-- <br>

<dd>Eljay Bos<br>

<dd>Mobile Italy:+39 3392403630<br>

<dd>Mobile Kenya: +254 0706758499<br><br>
<br>
</blockquote>
<dd>-- <br>

<dd>[ Drupal support list |
<a href="http://lists.drupal.org/" eudora="autourl">
http://lists.drupal.org/</a> ]</blockquote><br>
<hr>

<dd>-- <br>

<dd>[ Drupal support list |
<a href="http://lists.drupal.org/" eudora="autourl">
http://lists.drupal.org/</a> ]<br><br>

</dl>-- <br>
[ Drupal support list |
<a href="http://lists.drupal.org/" eudora="autourl">
http://lists.drupal.org/</a> ]</blockquote></body>
</html>