Hostling multiple local development environments

Web hosting, MySQL, PHP and all that good stuff.
Post Reply
atiras
Posts: 28
youtube meble na wymiar Warszawa
Joined: Wed Oct 02, 2013 6:37 pm

Hostling multiple local development environments

Post 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?
PlusPlus
Posts: 85
Joined: Fri Oct 04, 2013 5:39 pm

Re: Hostling multiple local development environments

Post 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 4632 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 4632 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
atiras
Posts: 28
Joined: Wed Oct 02, 2013 6:37 pm

Re: Hostling multiple local development environments

Post by atiras »

Thank you -- that works. Should have thought of it myself...
Post Reply

Return to “Web Hosting”