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....
ericclaeren
Mar 04, 2012Aspirant
Hi Stefan,
Thanks dude! It works! Used the latest git for x86.
I have added my own line to the http.conf for my own vhosts, didn't want to mess around in addons dir for my sites.
# Include sites that defines it's own vhost
Include /etc/frontview/apache/sites/*.vhost
For other users: My default vhost file now looks like this. It probably could need some extra tweaking, but it works for now.
I put my sites in a shared directory called www so I can access the files easily within my network.
Location: /etc/frontview/apache/sites/example.vhost
Thanks for your help!
Thanks dude! It works! Used the latest git for x86.
I have added my own line to the http.conf for my own vhosts, didn't want to mess around in addons dir for my sites.
# Include sites that defines it's own vhost
Include /etc/frontview/apache/sites/*.vhost
For other users: My default vhost file now looks like this. It probably could need some extra tweaking, but it works for now.
I put my sites in a shared directory called www so I can access the files easily within my network.
Location: /etc/frontview/apache/sites/example.vhost
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /www/example
<Directory /www/example>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Location />
DirectoryIndex redirect.html index.html index.htm index.php
</Location>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
RewriteEngine On
RewriteOptions Inherit
Options +FollowSymLinks
</VirtualHost>
Thanks for your help!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!