Creating a new site

By clicking in Insert it's possible to create a new site. A new form is displayed (Figure 4.35) with the following fields:

Figure 4.35: Web Server - Adding sites
Image 20501web

  1. URL address: It's the FQDN4.13 of the new site that will be hosted in the server. It's possible to use SSL too. Example: www.domain.com;
  2. Alternative URL address: Alternative name(s) for the URL address that was previously set. This field is not mandatory;
  3. Site administrator email: E-Mail of the user that is responsible for the site management;
  4. FTP User: A new user login that will access to the site folder through FTP. This should be the only login and shouldn't be equal to another IPBrick LDAP user. The site maintenance will be made through this protocol.
  5. Password: Password of the FTP user.
  6. Retype Password: Confirmation of Password.
  7. Site folder location: Folder to be created in the server filesystem that will be automatically created on /home1/_sites/. Usually it's used the name of the site;
  8. Internet Availability: Choosing Yes we say that the virtualhost will be created from this site to the IPBrick external IP - if this is the case the created site will be available in the Internet;
  9. Safe mode: If the site is php based, it deny's the access of files outside the site folder location, so it will interfer too with the global variables. It's the reason that the default mode is Disabled;
  10. Access authorized only to the directories: By default the php have access to the site folder location and to /tmp but it's possible to add more locations;
  11. Character encoding: It's the encoding that Apache will use for the website depending of the content language;
  12. Always keep the typed URL: Allows to keep always the requested URL;

If the created site is internet available, it is also necessary to create a DNS record in the company's external DNS server pointing to the company's network public IP (A or CNAME). If IPBrick have public IP at eth1, it will point directly to that IP and not for the router IP.



Footnotes

... FQDN4.13
Fully Qualified Domain Name
iPortalMais