Welcome to ZeroLag!
Thank you for choosing ZeroLag for your hosting needs. This page provides important information and resources to help you get the most out of your ZeroLag managed hosting services, and to get your application or web site up and running as quickly as possible.
Frequently Asked Questions (FAQ)
Rewrites and redirects can be added in the .htaccess file. The .htaccess file is found in the html folder of your site. On ZeroLag servers, the path is /www/sites/www.domain.com/files/html/.htaccess
.htaccess is a hidden file, which means settings typically need to be changed in your FTP client in order for you to see the file. For example, in FileZilla, the menu option Server > Force Showing Hidden Files needs to be enabled to view the .htaccess file.
Occasionally, the Apache configuration file needs to be modified for changes to .htaccess to become effective. ZeroLag Support is available 24x7x365 to assist you with changes to your .htaccess file and setting up rewrites and redirects.
ZeroLag monitors and records dedicated server data via bandwidth and Munin graphs. The links to these graphs are found on the server’s administration page in ZeroLag Control. Many performance metrics are recorded, including bandwidth, Apache metrics, disk I/O activity metrics, connections, MySQL metrics, CPU usage, RAM usage, and a host of other measures of server health and performance. These records can be viewed by day, week, month, and year, which is ideal for tracking performance history.
On fully managed servers, ZeroLag needs to add or modify cronjobs on the server. Simply provide us with the information needed to accurately configure the cron and ZeroLag Support will make the necessary changes for you. Our team is available to assist you 24x7x365.
You are free to install any content management system (CMS) of your choice. The CMS can be installed by downloading the latest version from the publisher’s website and then uploading the files to your site’s html directory via FTP (or SSH if available). The CMS is then installed by accessing the site with a web browser. Simply follow the prompts to complete the installation. If the domain is not yet pointed to the ZeroLag server, the site can be accessed with the vhost alias ending in ‘.vhost.zerolag.com’
If you prefer that ZeroLag perform the installation for you, we are happy to do so and our support team is available 24x7x365.
On fully managed servers, ZeroLag will install SSL certificates for you, utilizing the following process:
- Upon receiving an SSL request, ZeroLag Support will provide you with a form to gather the information necessary to create a certificate signing request (CSR).
- After we receive your completed form, we will provide you with the CSR.
- You can then use the CSR to purchase an SSL from the certificate authority of your choice.
- After obtaining the the certificate bundle, please send it to ZeroLag Support via email: email@example.com
- Finally, we will install the certificate on the server and verify the installation. We will also note any necessary changes to the domain’s A-record as needed, if the domain is not currently pointed to the ZeroLag server.
Yes we do! ZeroLag keeps three full backups of your environment. One from last night, one from the night before last, and one from the last day of the previous month. These backups are a copy of the server’s file system (with some exclusions), which includes all websites, databases, configuration files, etc.
Backups are stored on secure ZeroLag backup servers. These backups are not directly accessible to our clients. To request a copy of a site or database backup, simply send an email to firstname.lastname@example.org. Our support team will place a copy of the requested backup (site, database, or both) in a directory to which you have FTP access.
Direct access to edit the global php.ini is not available. However, depending on which PHP interpreter your server is leveraging, you may be able to override the loaded php.ini. For php-fpm, please email a request to ZeroLag Support (email@example.com) with the directive changes you are seeking. If the server is using mod_php or su_php, you can override certain directives by adding them to the .htaccess file (for mod) or by creating a custom php.ini in your site’s document root. Our support team is available 24x7x365 to assist you with any of these changes.
If you are on a shared server, you will not be able to restart the Apache service as it would negatively impact all other sites on the server. On a fully managed dedicated server, we can provide designated admin users the necessary access to restart the Apache service. But even on a dedicated server, the default access level to restart services is root user only. Therefore, you would need to contact ZeroLag Support to have this service restarted, or to request sudo access so you can perform this task yourself.
While we don’t support add-on domains, we offer alternative solutions that will provide similar functionality. There are several options available, such as adding a subdomain, a new vhost pointing at the main vhost’s document root, a sym-linked directory, etc. Sending a request to firstname.lastname@example.org with your requirements is the first step in determining the appropriate solution. Our engineers will review your environment and requirements, and recommend the optimal solution for your needs.
You may access the server logs with the FTP or SSH accounts for the server. Here are example locations for the Apache and PHP logs:
Replace ‘www.mydomain.com’ with the domain name whose logs you wish to see.
If you are looking for system-wide logs, you can obtain them via SSH and our Xenon-file tool which provides you access to the following:
user@www01:~$ xenon-file info
You can view the content of any of the files above as illustrated by this example:
$ xenon-file tail /var/log/apache2/error.log
First, you will need to access the server administration page (aka “machine page”) for the server in Zerolag Control. A link to this page was provided in the welcome email you received when your ZeroLag account was established, and will look similar to: https://control.zerolag.com/my-machine.php?cmd=view&machine_id=XXX
If adding a new linked vhost account, follow the steps below:
- Click the Add Account button.
- Select the This is a linked virtual host account in the first drop-down menu.
- Enter the domain name with the ‘www’ to make sure that both ‘www.mydomain.com’ and ‘mydomain.com’ are covered as aliases of the account. If setting up a different sub-domain, use the appropriate name like ‘dev.mydomain.com’.
- Choose the appropriate IP address — if applicable — and enter a password in the appropriate field.
- Make sure Add DNS Zone is checked so the new zone is created for you. The default A, CNAME and MX records will be automatically added.
- Click Save and the account will be listed on the machine page.
If adding a new database account, follow the steps below:
- Click the Add Account button.
- Select This is a linked database account in the top drop-down menu.
- Enter a username that will be used for the database name as well. No uppercase or special characters are allowed, except the underscore (_). There is a 16-character length limit due to MySQL username limitations.
- Enter a password in the appropriate field.
- Select Database – MySQL in the Account Type drop-down menu
- Select the domain that will be using the database account so the user/password information is displayed within the domain information page in ZeroLag Control; this is typically the domain which includes ‘www’ or the appropriate sub-domain.
- Click Save and the account will then show within the machine page as well.
If you prefer we create the new accounts for you, please email the relevant information to email@example.com and we will be more than happy to assist you.
All SSH account users need to have their IP whitelisted on the firewall. If your server uses local iptables, you can provide us the IP address to be whitelisted and we can do it for you, or you can do it yourself with the following method:
- Log into Zerolag Control, https://control.zerolag.com
- Click Machines > Your Server Name > View Firewall
- Enter the IP to be whitelisted in the field Allow IP address and select Port 22 in the drop-down menu
- Click Save
You can find your IP address by clicking here: http://myip.zerolag.com
By default, creating a vhost space to host your site, www.mydomain.com would place the root directory at the following location: /www/sites/www.mydomain.com/files/html/
To add a new contact to your account you must have sufficient access privileges (All Access).
- Sign in to http://control.zerolag.com
- Click on the company name to which you want to add the contact
- Click Add contact
- Fill in as much information as you can provide
- Click Save
You can create secure shell (SSH) accounts if you choose the ‘This is a linked virtual host account’ type.
- Sign into http://control.zerolag.com and select Machines
- Click the name of the server on which you want to create an account (only works for Linux servers).
- Click Add account
- Fill in the domain name password and other information requested
- For Account type, select SSH
- Click Save
If you wish to set up a secondary SSH account, please contact ZeroLag Support for assistance.