How to Configure edgebox as a Web Server



Similar documents
How to Configure edgebox as an Server

Asia Web Services Ltd. (vpshosting.com.hk)

Using Internet or Windows Explorer to Upload Your Site

FireBLAST Marketing Solution v2

IIS, FTP Server and Windows

Sentral servers provide a wide range of services to school networks.

Parallels Plesk Panel User Guide

Dynamic DNS How-To Guide

Setup Corporate (Microsoft Exchange) . This tutorial will walk you through the steps of setting up your corporate account.

DreamFactory on Microsoft SQL Azure

Livezilla How to Install on Shared Hosting By: Jon Manning

NEFSIS DEDICATED SERVER

Setting Up a Dreamweaver Site Definition for OIT s Web Hosting Server

How-to: HTTP-Proxy and Radius Authentication and Windows IAS Server settings. Securepoint Security System Version 2007nx

Administrators guide to the Matrix Control Panel

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

Exchange 2013 mailbox setup guide

UC8XX LCD and Web GUI custom Guide

How to set up Outlook Anywhere on your home system

Dramatically simplifying voice and data networking HOW-TO GUIDE. Bundle Quick Start Guide

How to Configure Active Directory based User Authentication

NF3ADV VoIP Setup Guide (for TPG)

ISPConfig Documentation

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Create a New Account Contents

How to Join QNAP NAS to Microsoft Active Directory (AD)

Information Security Practice II. Installation and set-up of Web Server and FTP accounts

Getting Started with PRTG Network Monitor 2012 Paessler AG

System Administration and Log Management

F-Secure Messaging Security Gateway. Deployment Guide

Configuring the WT-4 for ftp (Ad-hoc Mode)

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

Some Setup guidelines for Voyager Megapixel camera

D-Link DAP-1360 Repeater Mode Configuration

Test Case 3 Active Directory Integration

42goISP Documentation

Using Microsoft Expression Web to Upload Your Site

Name Services (DNS): This is Quick rule will enable the Domain Name Services on the firewall.

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014

EZblue BusinessServer The All - In - One Server For Your Home And Business

Setting Up Scan to SMB on TaskALFA series MFP s.

Multi-Homing Dual WAN Firewall Router

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

DIR-100. Before You Begin. Check Your Package Contents. Triple Play Router

Click-To-Talk. ZyXEL IP PBX License IP PBX LOGIN DETAILS. Edition 1, 07/2009. LAN IP: WAN IP:

Preventing credit card numbers from escaping your network

Content Management System

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Creating a User Profile for Outlook 2013

Plesk Panel HEAnet Customer Guide

Security Guidelines for MapInfo Discovery 1.1

Hosted Microsoft Exchange Client Setup & Guide Book

CloudOYE CDN USER MANUAL

WS_FTP Pro for Windows 95/98/NT

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server


NAS 224 Remote Access Manual Configuration

Setting and Checking LISTSERV www Interface Permissions Windows Server 2012 with IIS 8.x Last Updated: 20 Mar 2014

Host your websites. The process to host a single website is different from having multiple sites.

How to use edgebox as a PDC and to Share Files

Transferring Your Internet Services

Hosted Microsoft Exchange Client Setup & Guide Book

DDNS Management System User Manual V1.0

What is WS_FTP Server Web Transfer Module?...1 System Requirements...2. What is WS_FTP Server Web Transfer Module?

Ipswitch WS_FTP Server

Virtual Appliance for VMware Server. Getting Started Guide. Revision Warning and Disclaimer

Configuring Web services

Configuring an External Domain

Chapter 1 Introduction to web development and PHP

TransNav Management System Documentation. Management Server Guide

Chapter 6 Using Network Monitoring Tools

Inbound Load Balance. User Manual

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

SSH Secure Client (Telnet & SFTP) Installing & Using SSH Secure Shell for Windows Operation Systems

REQUIREMENTS AND INSTALLATION OF THE NEFSIS DEDICATED SERVER

exacqvision IP Camera Quickstart Guide

Access the GV-IP Camera through a broadband modem

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Installation Guide For Choic Enterprise Edition

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Wireless G Broadband quick install


EZblue BusinessServer The All - In - One Server For Your Home And Business

Quick Scan Features Setup Guide

Virtual Appliance Setup Guide

TIMETABLE ADMINISTRATOR S MANUAL

Click Studios. Passwordstate. Installation Instructions

SmartFiler Backup Appliance User Guide 2.0

Parallels Plesk Panel 11 for your Windows Server

Web File Management with SSH Secure Shell 3.2.3

Installing and Using WinSCP Client

Manual Password Depot Server 8

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Lesson 7 - Website Administration

Configuring Global Protect SSL VPN with a user-defined port

Transcription:

intelligence at the edge of the network www.critical-links.com edgebox V4.5

Introduction: The Web Server panel allows the simple creation of multiple web sites using the Apache web server. Each website hosted on the edgebox shares a single public IP (WAN) or/and private Intranet (LAN) IP address. These sites can be accessed via two types of URL depending upon the option you choose when creating them. URL s which reference particular users. These are used to allow personal web pages to be created (eg http://myedgebox.com/users/jane ) URL s which use a domain. These are used for websites which are available to the Internet or for intranet use within an organization. (eg http://www.mycompany.com or sales.critical-links.com ) Revision 1.2 Page 2

FAQ s How many websites can Apache serve from a single edgebox? Certainly 1000 s, but there are practical limits imposed, depending upon network bandwidth, CPU, memory resources and disk speed/space. What file types does edgebox recognize? EdgeBOX is configured to support (by default) HTML and PHP files. It also supports a number of image formats such as gif, png, jpeg and bmp. Can I use a dataserver for a dynamic website? You can make use of the edegbox Postgres dataserver which is installed on edgebox. However, you may affect edgebox performance if you do excessive reads/writes and you will be responsible for maintaining the users/databases you create. You will also be responsible for backing up you data (and restoring, if necessary). Information regarding access to the dataserver is beyond the scope of this document. Can I use https to access my websites? All websites you create may be accessed via http or https (the encrypted form of http) Revision 1.2 Page 3

Configuring edgebox to act as a corporate website server To configure the web server for Global access for your new website, you need to register a domain (eg critical-links.com NOT www.critical-links.com) and reference this URL to the IP address of the edgebox WAN. Note: The domain is (for example) critical-links.com. Once this is registered and references the edgebox WAN IP address, you can then create domains such as sales.critical-links.com and www.critical-links.com, without having to register more domains. You basically have three choices on how to host your domain. You can either host your domain: With your ISP o Advantages: It is being hosted in a datacenter with a highly resilient infrastructure and with detailed knowledge and comprehensively configurable DNS servers. o Disadvantages: You are not in control of the DNS server and thus have to make requests to your ISP every time you want a change made, also there may be an additional cost for such changes. On the edgebox o Advantages: Free to host, easy to configure and you are in control, thus changes can be made immediately. o Disadvantages: Not in a highly resilient datacenter. You only have one DNS server. Some options (eg some record types are not available via the GUI, Only LAN or ALL query access is allowed) On your corporate DNS servers o Advantages: Essentially the advantages of both of the above (full control and highly available) o Disadvantages: You need to install DNS services on at least 2 servers and manage them. Revision 1.2 Page 4

Example 1 Assume we have already registered the critical-links.com domain and we have a public IP address for the edgebox WAN, also that we wish to create a website with a URL of training.critical-links.com, which will accessible from the internet and our LAN. Configuration 1. Go to the Collaboration Web Server and Start the web server (if it is not running) 2. Press the New button and enter the values as shown in the following image Defines where access is allowed from for this website: LAN, WAN or Both The name of this website. Note that an A or CNAME record has to be added (in this case, for training) to the DNS server for this setup to be complete. The location of the files in the file system. All websites will be located under /home/wwwhost, For example, we will need to create a directory /home/wwwhost/training (The directory does not have to match the path) Proxies allow you to specify a proxy server. If configured, a request which is sent to the edgebox for the proxy domain will be forwarded to the proxy server. We will not be using proxies in this document. The email address of the person responsible for this website Revision 1.2 Page 5

3. Press OK and Apply to create this entry. We now need to create the directory (training in this example). The directory that is created must match the text entered in the Path field in the previous image. Also note that the directory name is case sensitive. 4. To create the directory and to place content into the directory you need to ftp to the edgebox as user webmaster. You can set the password for the webmaster account by going to the Collaboration Web Server menu and enter a new password for the webmaster account. Press Change to apply the new password 5. Use webmaster credentials to login (note if you cannot access the ftp server, make sure access is allowed ( Security Firewall General tab. FTP should be checked for internal) 6. Create the new training directory (mkdir training) Revision 1.2 Page 6

You now need to upload the files into this directory so that this website has appropriate content 7. Change directory to move into the new (training) directory (cd training) 8. Add the content (put or mput your files) a. Note that you can use a GUI based client (such as WS_FTP Pro) to create the directory and upload the files (using the webmaster account) A simple index.php file which you could upload to test the website is as follows: <html> <h3>test PHP Program</h3> <? echo "Hello world!";?> </html> If we upload the above file to the critical directory (as filename index.php) and open up a browser and use the following url: http://training.critical-links.com We obtain Server not found. This is because, we and the world at large, know where critical-links.com is, but the DNS servers do not know where training.critical-links.com is. To correct this, we need to add a reference to the edgebox for the training domain. If the domain is hosted by our ISP, we need to request that they add a training A record for the critical-links.com domain which points to the WAN IP address of the edgebox. The following image assumes that the edgebox is the DNS server for the critical-links.com domain. 9. Add an A record to the DNS server for training in the critical-links.com domain Revision 1.2 Page 7

If we are hosting the domain on the edegbox, we simply go to the Router DNS General panel and highlight the critical-links.com domain. We then press the hosts button, which opens up a new panel. This panel is already populated by entries automatically added when the domain was created (For example, the MX record). We should now add an A Record type with Revision 1.2 Page 8

Host name = training Host Type = A Host IP = WAN IP address of edgebox Press OK to add the Host Information Press OK to close the DNS Host panel Press Apply to apply the changes Revision 1.2 Page 9

10. Test the website functionality by opening a browser and entering the following url: http://training.critical-links.com If you used the index.php example (step 7), you should see a result similar to the one below: Note: Should you wish to add other web sites (eg sales.critcal-links.com and www.critical-links.com), simply repeat steps 1-10, replacing training for sales or www Note: If you wish to create an Intranet site (a website for internal access only), the procedure is similar. The differences are: Step2: The Virtual Host should be LAN, rather than Both Also you can host the domain on the edgebox (even if your other domains are hosted at ISP S). For example, you could create a domain called critical-links.loc and add A records to your local DNS domain and access the websites via URL s such as: www.critcal-links.loc The A record you create should refer to the LAN IP address (rather than the WAN IP) of the edgebox You can of course still use the ISP to create the A records as in the Corporate website example Revision 1.2 Page 10

Example 2 edgebox is located in a school where the students are to be allowed to have personal web pages Configuration A. Go to the Collaboration Web Server menu and make sure the Web Server is running B. Set User Directories to Yes and press the Apply button (if it was set to No Note: A default webpage is created for all users when the users are created. If the edgebox has a LAN IP address of 192.168.90.193, the URL to access a webpage for a user, whose username is user1, would be: http://192.168.90.193/users/user1 or you can access it via: http://myedgebox.com/users/user1 You may also access the webpage externally (via the WAN IP address or a registered domain If one has been registered). For example http://231.13.13.167/users/user1 (if 231.13.13.167 is the WAN IP of the edgebox) Revision 1.2 Page 11

Access to a default personal web address would result in a page in your browser as follows: A user may alter their default web page by creating the appropriate html/php and image files and uploading these files to their home directory. This is achieved via FTP. You may use an FTP client to assist, or simply upload files from a command window. Note1: The initial directory you enter after logging in to the edgebox via ftp, is the root web directory for the user. This is where you should place your index.html or index.php file. Note2: Unix (the operating system which edgebox uses) is case sensitive. Thus if you upload a file called INDEX.HTML, it will NOT overwrite the index.html file. Revision 1.2 Page 12

Apache Log Files There are two log files for Apache, they are: /var/log/httpd/access-standard.log /var/log/httpd/error-standard.log If you have problems accessing an edgebox website, or obtain an error, login to the edgebox shell and examine the files (eg tail -f access-standard.log or tail -f error-standard.log). Whilst you are viewing the logs (via tail), try to access the website and examine the error messages. DNS Issues If you are using the edgebox to host DNS records, the current version of edgebox has a restriction if you want to host multiple corporate websites. edgebox DNS server only allows for the addition of one master external domain and one master internal domain. Thus if you have two (or more) websites configured on the edgebox, you will not be able to host more than one domain on the edgebox! How can we solve this? When you create the domain, simply use a different Network Address to ones which have already been used. For example, if you create an internal master domain for the network 192.168.100.0, use 192.198.99.0 for the next one and 192.168.98.0 for the third. Revision 1.2 Page 13