User Tools

Site Tools



Module Start Page

Web-server is the server which accepts HTTP-requests from clients (usually from web-browsers) and gives them HTTP-responses (usually with an HTML-page, image, file, media-stream or other data). The client (usually a web-browser) sends to the web-server requests for resources indicated by URLs. Resources are the HTML-pages, images, files, media-streams or other data. In response the web-server sends the requested data to the client. This exchange is is done within Hyper Text Transfer Protocol (HTTP).

The module status, the “turn off” button (or “turn on” in case if module is offline) and the last entries in the log are displayed after entering the module.


Inthe tab “Settings” you can change the following parameters:

Host name - defines the external domain name of the server. Required for correct work of the web-resource by domain name.

Administrator E-mail - allows to specify e-mail address of a person responsible for web-server. Needed in case of trouble of server operation.

HTTP port - allows to specify port at which the web-server accepts HTTP-requests (by default this port is set to 80).

HTTPS port - allows to specify port at which the web-server accepts HTTPS-requests (by default this port is set to 443).

Certificate for HTTPS. Web server can use standard HTTP protocol, where data is not encrypted when transferred (which is insecure). It is generally better and safer to employ secure HTTPS protocol with (Secure Socket Layer) SSL encryption. For these purposes SSL certificates are used. Pressing the button “[…]” you can assign a certificate, which has been previously create in corresponding module.

Redirect from HTTP to HTTPS - tick this check box if you want the web-server to insist on using secure connection even if a client requested otherwise.

Automatically create an allow rule - creates an allow rule in the firewall of ICS CUBE for HTTP/HTTPS ports of the web-server to be accessed from external networks.

Type of authorization. If your web-resource or virtual host are not intended for guest (public) access, this option is determines how users will undergo authorization to use the resource.


In order to create a web-resource which will allow to place your website at ICS CUBE, go to the tab “Web resources” and click “Add.”

You can choose the following types of web-resources:

Web-resourceResponds to http-requests at -addresses of ICS CUBE interfaces.
Virtual hostAllows to create an unlimited number of web-resources, each responsible for their own website, distinguished by the site name.
Virtual host with redirectionAllows ICS CUBE to redirect requests to a site with specified name in case the server of this website is located inside the company network (analogue of port forwarding).
Link to virtual hostCreates an alias for virtual host.


Source - specifying of the folder in which the files of this resource are located. After you enter the name and description for the resource, you need to add a directory from the file storage structure. For that, like in other modules, press the “[…]” button and specify a folder where site content will be locate. If necessary, you can create a new folder in the directory.

Allow folders listing - allows the server to display a list of all the files and folders of the resource, if index/index.html or index.php files are not found in the root folder.

Allow PHP-scripts to run - allows the server to execute PHP-scripts on HTML-pages.

Default Encoding - determines the value of the encoding of the displayed html-pages of the resource by default.

Permissions - determines the list of users who have access to view the site. Tickingthe “Guest Login” box grants permission view the site from any host, making it publicly accessible.

Virtual host

Virtual host is the preferred way of creating a website. Parameter “Virtual host” is similar to the name of web-resource, but it should include domain name of website at which it will respond to https-requests. In most cases for correct work of virtual host you need to set up dns-zone of domain name. In addition to the settings present in web-resource the next one is added:

Create a link for www.%domainname% - allows to accept http-requests to the website name with and without prepended www to it..

Use Web Application Firewall - brings the module Web Application Firewall online for this virtual host.

HTTPS settings - chooses to use general settings of web-server, LetsEncrypt certificate and to assign previously created in the corresponding module certificate to this website.

Re-direct from HTTP to HTTPS - tick this box if you want this website to always use secure connection.

Create record on the DNS-server - creates zone for this host at the ICS CUBE DNS-server.

Also like with a web-resource you can choose options for user’s access to virtual host.

Virtual host with redirection

Since the server where web resource is located is responsible for all parameter of the web resource you can modify check only the following options:

Redirect HTTP to address/Redirect HTTP to HTTPS - redirection of http-requests to specified address or redirection of http requests to https.

Redirect HTTPS to address - redirects https-requests to specified address.

If a virtual host has been created on ICS CUBE and you want it to respond to requests for another domain name, you can use the link.

When adding a link, you should specify the alias and select a virtual host from list of created virtual hosts to which the link will be pointing to. You can also add a description of the resource.


Every time you create a web-resource or a virtual host at ICS CUBE a database at MySQL database server of ICS CUBE is created and assigned to this website. The website can use the database by php-requests.

In order to bring up the parameters of database associated with web resource, select it in the general list and click the “Database” button.

In the window which will open, you will see the database connection settings: the database name, login and password to connect. These parameters should be used for your php-scripts.

If you already have a working database dump, you can load it using the “Load base” button. In the window, which will open, you will be able to select the name of dump file for loading, the dump coding and checkbox which determines if already existing data in the database is to be deleted after the download.

To clear the web resource database, click the corresponding button in the database settings window.


The summary of all system messages from the web server is located into the “Log” tab. Log is divided into pages, you can move between pages using “forward” and “back” buttons , or you can enter the page number in the corresponding field and switch to it immediately.

Log entries are marked by color depending on the type of the message. Regular system messages are marked by white color, system status messages (on/off, user connection, etc.) - by green color, the errors messages - by red color.

Search string is located in the upper right corner of the module. With it you can search in the log for specific records.

When opened, the log always displays events for the current date. To view events for another day, select the desired date using the calendar in the upper left corner of the module.

If necessary, you can save the log data to a file by pressing the “Export” button.

web50.txt · Last modified: 2019/03/18 14:10 by root