Tuesday, November 16, 2010
中文 日本語 News Feed Comments
Home About
Forum
Search this website... GO News & Events
Products Comparison Chart ReadyNAS 1100 ReadyNAS 2100 ReadyNAS 3100 ReadyNAS 3200 ReadyNAS 4200 ReadyNAS Duo ReadyNAS NV+ ReadyNAS NVX ReadyNAS Pro ReadyNAS Pro Series ReadyNAS Ultra Series Resources Add-ons Add-ons (Community) Case Studies How-To's Mac Corner ReadyNAS Developer ReadyNAS in Business ReadyNAS Video Channel Reviews and Awards Testimonials Webinars Support Compatibility List Documentation Downloads FAQ
Forum
Service Action Notices Technical Support Technologies
Backups
Cloud File Server RAIDiator RAIDiator x86 ReadyNAS Photos ReadyNAS Remote ReadyNAS Replicate ReadyNAS Sharing ReadyNAS Streaming ReadyNAS Vault VMware X-RAID X-RAID2 Testimonials NETGEAR
Browse > Home / How-To's / Create a personal webserver on the ReadyNAS
Create a personal webserver on the ReadyNAS
March 21, 2008 by yoh-dahFiled under How-To's Leave a Comment
Tired of paying to have your website hosted somewhere or getting a free website that doesn’t quite give you the creative freedom to do what you really want? Well, that little ReadyNAS you use for sharing, backup, streaming, and photo sharing, can become your web server as well. Let’s take a look at why you might want to do this.
ReadyNAS can be on 24/7 while using very little power. 1.
Updates to your website is quick — there’s no need complicated process to update your changes. Just drag & drop if you want.
2.
If you’re CGI-savvy, you can create a dynamic site easily with Perl or PHP. 3.
You can create a dynamic DNS hostname for free and redirect that to your webserver, or you can sign up for your own domain and point that to your ReadyNAS.
4.
Your website is protected with RAID. 5.
OK, you’re convinced and you want to get started. Let’s go over the steps that you’ll need to follow. Create a share on the ReadyNAS where you want to put your website files.
1.
Redirect default HTTP access to your ReadyNAS to this website share. 2.
Create a test index.html and verify access. 3.
Forward external HTTP access to your ReadyNAS. 4.
So, let’s get started.
We’ll call it website. You’ll need to give it Read-only access to the share over HTTP and enable write access over CIFS if you will be updating the share via Windows or AFP if you will be using a Mac.
Step 2 – Redirect default HTTP access
From the Services/Standard File Protocols tab, select the website share from the drop-down list in the HTTP box to redirect default web access. This will prevent the web share list from showing when you access http://<readynas_ip>. Instead it will automatically redirect to http://<readynas_ip>/website.
Step 3 – Create a test index.html
Now create index.html with the following content and drag & drop to the website share.
<html>
<body>Welcome to my personal ReadyNAS website!</body> </html>
In your browser, enter the following (replace <readynas_ip> with your ReadyNAS IP): http://<readynas_ip>
You should see the following:
Step 4 – Forward external HTTP access to your ReadyNAS
At this point, we’re ready to make the HTTP access to your ReadyNAS public. In this step, we’ll modify your router to forward all incoming HTTP access (port 80) to your ReadyNAS. Make note of your router login and password and follow the steps outlined here to forward port 80 to your ReadyNAS IP. The link provides specific instruction for your router.
After you’ve done this, find out what your external public IP is. You can do this easily by visiting: http://whatsmyip.org
Using this public IP, test if you get the same web page from Step 3. Enter the following in your browser (replace <public_ip> with your external IP):
http://<public_ip>
Congratulations — you’ve just setup your own webserver!
And now, the finishing touches
Now that you’ve setup the basic server, what’s next.
First, you’ll need to setup a hostname that you and the rest of the world can remember easily. DynDNS offers free hostnames using a pre-defined list of domains (i.e. dyndns.org, homedns.org, homeip.net) so that you can have something like mygreatwebsite.homedns.org.
1.
If you want, you can get your own domain name from places like yahoo.com and godaddy.com. This way you can have something like www.mygreatwebsite.com instead.
2.
You’ll want to replace your index.html with something a little more creative. You can use a web page editor such as DreamWeaver to quickly come up with creative static pages.
3.
If you want to utilize CGI and you’re Linux-savvy, you can use the built-in Perl interpreter or install PHP. You can find instructions on how to install PHP here.
4.
You can host a blog on your new ReadyNAS website by following the how-to here. 5.
Comments are closed.
What’s a ReadyNAS?
Simplify remote access with ReadyNAS Remote
Archives
November 2010 (12) October 2010 (4) September 2010 (2) August 2010 (23) July 2010 (3) June 2010 (2) May 2010 (8) April 2010 (1) March 2010 (3) February 2010 (1) January 2010 (13) December 2009 (6)November 2009 (3) October 2009 (5) September 2009 (4) August 2009 (7) July 2009 (33) June 2009 (10) May 2009 (4) April 2009 (32) March 2009 (17) February 2009 (5) January 2009 (1) December 2008 (1) November 2008 (2) October 2008 (2) September 2008 (7) July 2008 (2) June 2008 (5) May 2008 (4) April 2008 (12) March 2008 (9) February 2008 (5) July 2007 (1) June 2007 (1) May 2007 (1) December 2006 (1)
Recent Posts
ReadyNAS Pro Series
Just released – RAIDiator 4.1.7 ReadyNAS Replicate in a Nutshell
NETGEAR Announces ReadyNAS Pro Family