Page 1 of 1

Hostling multiple local development environments

Posted: Tue Oct 15, 2013 11:10 pm
by atiras
I want to set up my 604 to host multiple local development environments. They don't need to be accessible over the WAN (and indeed probably can't be until I've resolved some router config issues with my ISP) but I can't see how to define them in the Virtual Hosts set-up interface. Assuming an example needs to have the element 'freddy' in it, how would I go about setting this up to point to /Web/Drupal ?

Also, I'll need more than 8 of these eventually, and I've read that there is a limit of 8 -- is there any way around this?

Re: Hostling multiple local development environments

Posted: Thu Oct 17, 2013 2:10 pm
by PlusPlus
Hi

I did the following settings and I can access drupal with virtual host "plusplus"

here are my steps

1. Install Drupal
2. Go to web server and configure a virtual host
圖片 495.png
圖片 495.png (34.85 KiB) Viewed 4634 times
3. My client is Windows 7, thus I add a line to the hosts file

Code: Select all

MyNASIP plusplus
MyNASIP which is IP address of NAS
hosts file is under C:\Windows\System32\drivers\etc

4. Open browser and enter http://plusplus and I saw this
圖片 496.png
圖片 496.png (44.93 KiB) Viewed 4634 times
Regarding add more virtual host, maybe you can add the virtual host configuration manually via ssh
you can add a virtual host and check the configuration under /volume0/usr/builtin/etc/apache2/sites-available

Re: Hostling multiple local development environments

Posted: Thu Oct 17, 2013 6:16 pm
by atiras
Thank you -- that works. Should have thought of it myself...