NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
devbobo
Nov 29, 2009Aspirant
HOW TO: Hosting multiple websites
G'day Guys, For some time I've wanted to host multiple websites from a single ReadyNAS unit...I haven't had the time to investigate it. 1. Backup all the .conf files in /etc/frontview/apache 2....
Event_Horizon
Jul 22, 2010Aspirant
I've been playing around with this for a few weeks and feel I'm almost there but unfortunately it still doesn't work. I've picked up a few skills on the way including using the OSX Terminal and also vi editor. I've modified the file Virtual.conf as detailed in this thread. I've also created a new file called my-virtual.conf which I've saved in the /etc/frontview/apache/addons directory.
my-virtual.conf file is as follows
<VirtualHost *:80>
ServerName www.TheMadamButterfly.co.uk
DocumentRoot /websites/TheMadamButterfly
<Directory /websites/TheMadamButterfly>
Options Indexes
Order allow,deny
Allow from all
</Directory>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
</VirtualHost>
<VirtualHost *:80>
ServerName www.GabriellaKingsley.me.uk
DocumentRoot /websites/GabriellaKingsley
<Directory /websites/GabriellaKingsley>
Options Indexes
Order allow,deny
Allow from all
</Directory>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
</VirtualHost>
I've created a share to my websites directory on the ReadyNAS. Within the websites director I have two further directories names 'GabriellaKingsley' and 'TheMadamButterfly'. These two directories contain my websites. I have an index.html in both specific to each website. When I type either of the website names into Snow Leopard, it takes me to my shares directory on my ReadyNAS duo. It does not take me to my actual website.
I've changed the setting on HTTP in Services/Standard File Protocol as follows.
Redirect default web access to this share: None Selected
But still I cannot detect either of my two websites. Any suggestions as to what I'm doing wrong.
With regard to the new addon 'my-virtual.conf', I've assumed that this will load automatically, or do I have to load it myself. I cannot see the file under Services/Installed Add-ons. I've rebooted the ReadyNAS and also performed a volume scan but still no luck. This has the potential to be a great add-on if only I can get it to work.
Many Thanks
Phil
my-virtual.conf file is as follows
<VirtualHost *:80>
ServerName www.TheMadamButterfly.co.uk
DocumentRoot /websites/TheMadamButterfly
<Directory /websites/TheMadamButterfly>
Options Indexes
Order allow,deny
Allow from all
</Directory>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
</VirtualHost>
<VirtualHost *:80>
ServerName www.GabriellaKingsley.me.uk
DocumentRoot /websites/GabriellaKingsley
<Directory /websites/GabriellaKingsley>
Options Indexes
Order allow,deny
Allow from all
</Directory>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
</VirtualHost>
I've created a share to my websites directory on the ReadyNAS. Within the websites director I have two further directories names 'GabriellaKingsley' and 'TheMadamButterfly'. These two directories contain my websites. I have an index.html in both specific to each website. When I type either of the website names into Snow Leopard, it takes me to my shares directory on my ReadyNAS duo. It does not take me to my actual website.
I've changed the setting on HTTP in Services/Standard File Protocol as follows.
Redirect default web access to this share: None Selected
But still I cannot detect either of my two websites. Any suggestions as to what I'm doing wrong.
With regard to the new addon 'my-virtual.conf', I've assumed that this will load automatically, or do I have to load it myself. I cannot see the file under Services/Installed Add-ons. I've rebooted the ReadyNAS and also performed a volume scan but still no luck. This has the potential to be a great add-on if only I can get it to work.
Many Thanks
Phil
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!