Server Settings

Step 5 - Export > Destination Folder >

Server Settings

Previous pageReturn to chapter overviewNext page
Show/Hide hidden text

In this window, which you open by clicking on Parameters on Website Export to Internet in case you want to export your website using another Hosting Provider different than the one included with WebSite X5, you can report some useful parameters to connect to the server, configure the Database linked to the project and setup the way e-mails are sent.

Click to expand/collapseReference: The options in the FTP Parameters section

In this section, you will need to enter the following Session Profile (this data is provided by your Internet provider):

Server Type: specify the connection to use for publishing the website files on the server. Choose the one that your server uses from the following:
FTP - File Transfer Protocol: this is the default options. FTP is one of the oldest data transmission protocols and is still widely used. The data exchanged between client and server is not encrypted, according to the original FTP specifications.
SFTP - SSH File Transfer Protocol: this is an Internet protocol that guarantees secure data transfer, using remote encrypted sessions and remote file manipulation.
FTPS - FTP over explicit TLS/SSL: to ensure security, this protocol adds an encrypted SSL/TLS layer to the FTP protocol, plus a series of commands and reply codes.
FTP Address: enter your FTP address in this field. An example of an FTP address is "ftp.websitex5.com", where "websitex5.com" is the domain name.
Username / Password: enter your username and password in these fields.
Save password: if you select this option, your password will be saved and you will not have to enter it again in the future.

There are also some Optional parameters, not strictly necessary for establishing a connection with the server, but you can enter them if you want to:

Use Passive FTP: this is active by default, and it means that passive FTP is used for exporting projects. It guarantees greater connection compatibility with the server.
Enable gzip compression: this is active by default, and means that the project files are compressed during the export procedure, so reducing export times.

Not all servers support gzip compression. If this option is selected, and your server does not support it, the files will not be compressed but the project will still be published. Gzip compression works very well for large files (that contain a lot of graphics, for example), but it is not recommended for small files.

Simultaneous connections: enter the number of connections to the server that the built-in FTP engine needs to open simultaneously in order to publish the website files. The number of connections is equivalent to the maximum number of files that can be exported simultaneously.

The server you use must support Simultaneous connections. Although  support is guaranteed, only a certain number of simultaneous connections can be handled efficiently. Try starting with 3 connections and progressively increase the number until you find the best number that the server can handle on its bandwidth. Generally speaking, it is not advisable to specify more than 10 simultaneous connections.

Port: enter the name of the gateway on the server to which you want to establish a connection (your Internet provider will give you this information). It isn't usually necessary to change the default value.
Click to expand/collapseReference: The option in the Data Management section

In order to set up the Database you want to connect to the project, you need to define the following parameters:

Host Name: enter the URL address  of the SQL server where the database is stored online. The database is usually stored on the same server which hosts the website it is linked to, and so "localhost" is often used. Check with your provider that the database and website are on the same server.
Database Name: enter the name of the database you want to work on (you can obtain this from your provider).
Username: enter the username (that your provider gives you) needed to access the online database.
Password: enter the password (that your provider gives you) needed to access the online database.

The Database connected to the project will be one used  for instance to store the data collected from the Contact Form Object or,  in the Pro edition, when users register in the Members' Area or via the e-commerce shopping cart, you first need to connect it to the project.

You can also specify the Writing Access Folder:

Server folder with write access: enter the path on the server for the folder with write access (where the PHP script can write to).

Providers usually give write access to all folders on the server: if this is the case, you don't need to give the pathname of the public folder. In all other cases, contact your webspace provider for the complete public folder pathname.

You can check in the WebSite Test section of the online Control Panel whether the folder with write access, and any sub-folders inside i, actually exist and, if so, if you have write access to them (so that you can save the data).

Click to expand/collapseReference: The options in the E-Mails section

You can use the options in this E-mail Form section to indicate how e-mails are to be sent:

E-mail form script type: you can specify the script to be used for e-mails sent by WebSite X5, for example in the Contact Form Object or in the e-commerce shopping cart. To guarantee greater compatibility with the various configurations of the servers which the websites may be published on, we recommend using PHP Mailer (recommended) as the send method. The SMTP and Authenticated SMTP send methods are also based on this library. Alternatively, you can use the basic send methods of the standard PHP Standard script "mail" feature and, if this doesn't work, you can try Low quality Server Script or Low-level script.

Contact your web space provider for the parameters you need to configure sending e-mail via SMTP or Authenticated SMTP.

Sender e-mail address: it sets the e-mail address indicated in the field as the sender of all the e-mails that leave the website. This e-mail address overwrites the e-mail address given in the options of the Contact Form Object, that of the customer placing an order through the e-commerce shopping cart and, in the Pro edition, that of the user who automatically registers to access a Members' Area in the website.

This option is useful if the provider blocks e-mails from the server that are sent by a user whose domain is different from this website: for example, an e-mail for an order from www.mywebsite.com will not be sent if the sender's address is not ...@mywebsite.com. In these cases, the problem can be solved by specifying a sender's e-mail address that has the same domain name as the website from which the e-mail leaves.