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?
Hostling multiple local development environments
-
- Posts: 28
- youtube meble na wymiar Warszawa
- Joined: Wed Oct 02, 2013 6:37 pm
-
- Posts: 85
- Joined: Fri Oct 04, 2013 5:39 pm
Re: Hostling multiple local development environments
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
3. My client is Windows 7, thus I add a line to the hosts file
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
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
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
3. My client is Windows 7, thus I add a line to the hosts file
Code: Select all
MyNASIP plusplus
hosts file is under C:\Windows\System32\drivers\etc
4. Open browser and enter http://plusplus and I saw this
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
-
- Posts: 28
- Joined: Wed Oct 02, 2013 6:37 pm
Re: Hostling multiple local development environments
Thank you -- that works. Should have thought of it myself...