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 25, 2010Aspirant
The Simple Solutions are always the Best
I've been playing around with this for about a week and just could not get it to work as per the original posting by devbobo. Along the way I learnt to use the Terminal command editor and also the vi editor to modify and create new system files. In frustration I sat down with a large G&T and thought out a few other possible solutions. Luckily for me my first solution worked and it's so simple. It literally took me less than 5 minutes to set up the multiple websites.
Firstly I created a webserver on my ReadyNAS DUO in accordance with these instructions http://www.readynas.com/?p=135
This procedure will allow you to host a single website.
I created a folder in the root directory of my ReadyNAS called websites as detailed in the above procedure. I then re-directed default web access to the 'websites' share in Services/Standard File Protocols in Frontview. Remember the 'websites' share must be read only. Within my 'websites' directory I then created additional directories for my other websites.
I have 3 websites that I am using for a test which you can try out.
Event-Horizon.cc
Event-Horizon.uk.com
EventHorizon.co
I actually include the various suffixes in the directory name so that the site easier to recognise.
Enter www.event-horizon.cc into your browser to try out the first site.
It's not necessary to set up any shares for the other directories, they simply have to exist with of course the appropriate index.html file and other associated files although these are not necessary for a single page website.
I use Web Forwarding in my domain name description to redirect the various website name(s) to my ip address. I then add the full path of my website within this forwarding rule to take it straight to the relevant directory as detailed below.
http://xx.x.xxx.xxx/websites/Event-Horizon.cc
This solution does not require any knowledge of unix commands or editor commands and you do not have to play around with any of the system files.
The major benefit for using the ReadyNAS to host one's website is that you do not have to get involved in ftp and uploading the website to the host server etc.
Best of Luck
Phil
I've been playing around with this for about a week and just could not get it to work as per the original posting by devbobo. Along the way I learnt to use the Terminal command editor and also the vi editor to modify and create new system files. In frustration I sat down with a large G&T and thought out a few other possible solutions. Luckily for me my first solution worked and it's so simple. It literally took me less than 5 minutes to set up the multiple websites.
Firstly I created a webserver on my ReadyNAS DUO in accordance with these instructions http://www.readynas.com/?p=135
This procedure will allow you to host a single website.
I created a folder in the root directory of my ReadyNAS called websites as detailed in the above procedure. I then re-directed default web access to the 'websites' share in Services/Standard File Protocols in Frontview. Remember the 'websites' share must be read only. Within my 'websites' directory I then created additional directories for my other websites.
I have 3 websites that I am using for a test which you can try out.
Event-Horizon.cc
Event-Horizon.uk.com
EventHorizon.co
I actually include the various suffixes in the directory name so that the site easier to recognise.
Enter www.event-horizon.cc into your browser to try out the first site.
It's not necessary to set up any shares for the other directories, they simply have to exist with of course the appropriate index.html file and other associated files although these are not necessary for a single page website.
I use Web Forwarding in my domain name description to redirect the various website name(s) to my ip address. I then add the full path of my website within this forwarding rule to take it straight to the relevant directory as detailed below.
http://xx.x.xxx.xxx/websites/Event-Horizon.cc
This solution does not require any knowledge of unix commands or editor commands and you do not have to play around with any of the system files.
The major benefit for using the ReadyNAS to host one's website is that you do not have to get involved in ftp and uploading the website to the host server etc.
Best of Luck
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!