NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
StevieMac
Jan 18, 2013Aspirant
Web Server ReadyNAS Duo v02
Hey Guys I got my NAS drive set up & I'm trying to figure out a few things & I came across this which i didn't know you could do with a NAS. http://www.readynas.com/?p=135 I've tried to follow i...
kullyrai
Jan 21, 2013Tutor
Hi Steve,
Some notes on how to do this using the new style Dashboard on the ReadyNAS Duo v2 (written in a similar style to the ReadyNAS.com article):
Step 1 - Create website share:
- Log in to Dashboard
- Select "Shares" tab on the top of the screen.
- Click the plus sign above the folders list to add a new share
- On the pop-up box, enter the name of the share. This will also be the directory name on the ReadyNAS. I will refer to this share as <website> from now on.
- Once the share is created, click on the <website> folder to ensure it is selected.
- With <website> selected, select the following sharing protocols:
- SMB: this will allow access via Windows. I have this set to Read only for everyone, and log in as admin via windows if i want to add any files/directories into the <website> share.
- HTTP: this is allow HTTP access via web browsers. Set this to Read Only for all users/everyone
- FTP: Allow this if you want to allow FTP access.
Step 2 - Redirect default HTTP access
- Select "System" tab on the top of the screen.
- Select the "HTTP" Service from the System screen dashboard
- On the pop-up, select the share <website> as the defauly share to display. select ok.
- On the dashboard screen after all pop-ups are closed, click on the refresh icon on the top right side and double check all settings were saved.
Step 3 - create default index.html page
- Create test "index.html" file, you can follow what was on the link you pasted above.
- copy it to the ReadyNAS under the <website> share/directory
- Open web browser and go to http://<ip address of ReadyNAS Duo v2>/<website>
EDIT: you have to put the name of the <website> in the URL, or it does not work. I even restarted apache and it made no difference, kept getting dashboard otherwise.
It should work.
NOTE: This will only make the webpage visible on your internal network. To make it visible to the outside internet, you will need to set-up port forwarding on your router to allow web requests to point to the ReadyNAS. I will not go into too much detail on this as it requires knowledge of your specific router. Also, this means that the dashboard for the ReadyNAS will be visible to the outside internet. If you do not want this, best not to do this, or at the very least ensure the HTTPS service is also enabled, and only use HTTPS when accessing from outside of your internal network.
You can then also go a step further and add PHP to the ReadyNAS, to add a more powerful web server. You would then also be able to access the mysql database on the ReadyNAS, allowing to build more powerful websites with a database back-end (forum, blog, CMS, dynamic website etc)
Unfortunately, I have not been able to get PHP working on the ReadyNAS yet. There were some posts on how to do this, but they were on a beta version of a firmware, and my requests for more info/help on that have so far gone unanswered.
regards
kullyrai
Some notes on how to do this using the new style Dashboard on the ReadyNAS Duo v2 (written in a similar style to the ReadyNAS.com article):
Step 1 - Create website share:
- Log in to Dashboard
- Select "Shares" tab on the top of the screen.
- Click the plus sign above the folders list to add a new share
- On the pop-up box, enter the name of the share. This will also be the directory name on the ReadyNAS. I will refer to this share as <website> from now on.
- Once the share is created, click on the <website> folder to ensure it is selected.
- With <website> selected, select the following sharing protocols:
- SMB: this will allow access via Windows. I have this set to Read only for everyone, and log in as admin via windows if i want to add any files/directories into the <website> share.
- HTTP: this is allow HTTP access via web browsers. Set this to Read Only for all users/everyone
- FTP: Allow this if you want to allow FTP access.
Step 2 - Redirect default HTTP access
- Select "System" tab on the top of the screen.
- Select the "HTTP" Service from the System screen dashboard
- On the pop-up, select the share <website> as the defauly share to display. select ok.
- On the dashboard screen after all pop-ups are closed, click on the refresh icon on the top right side and double check all settings were saved.
Step 3 - create default index.html page
- Create test "index.html" file, you can follow what was on the link you pasted above.
- copy it to the ReadyNAS under the <website> share/directory
- Open web browser and go to http://<ip address of ReadyNAS Duo v2>/<website>
EDIT: you have to put the name of the <website> in the URL, or it does not work. I even restarted apache and it made no difference, kept getting dashboard otherwise.
It should work.
NOTE: This will only make the webpage visible on your internal network. To make it visible to the outside internet, you will need to set-up port forwarding on your router to allow web requests to point to the ReadyNAS. I will not go into too much detail on this as it requires knowledge of your specific router. Also, this means that the dashboard for the ReadyNAS will be visible to the outside internet. If you do not want this, best not to do this, or at the very least ensure the HTTPS service is also enabled, and only use HTTPS when accessing from outside of your internal network.
You can then also go a step further and add PHP to the ReadyNAS, to add a more powerful web server. You would then also be able to access the mysql database on the ReadyNAS, allowing to build more powerful websites with a database back-end (forum, blog, CMS, dynamic website etc)
Unfortunately, I have not been able to get PHP working on the ReadyNAS yet. There were some posts on how to do this, but they were on a beta version of a firmware, and my requests for more info/help on that have so far gone unanswered.
regards
kullyrai
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!