From the control panel menu, click on the “MySQL Databases” icon and then the “Create new Database” link. Choose a name for the database that describes what the database is for. For example, enter “chat” if the database is intended for a chat script. The database name is always preceded by your username and an […]
Category Archives: Panels
Most scripts need to know four things about your database: the database name, database username, password, and hostname. The database name always has the following form: ControlPanelUsername_DatabaseName, where ControlPanelUsername is the username you use to access the control panel. The DatabaseName is the name you have given to the database from the MySQL database menu. […]
To create a new empty file: 1. Go to the directory/folder where you want the file/file to be. 2. Type the file name in the “Create New File” text box. 3. Check “HTML template” to include HTML tags in the file (optional) 4. Click on the “Create” button.
Customizing the HOSTS file All it takes is a simple text editor such as Notepad (Start, All Programs, Accessories) to add website addresses to the HOSTS file. Make a backup of the C:WINDOWSSYSTEM32DRIVERSETCHOSTS file (note: the name of the HOSTS file does not have an extension) before making any changes to it. After the file […]
Installation SSH to your DirectAdmin server (with root). Download RainLoop. cd /var/www/html wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip Extract downlaoded file. unzip rainloop-community-latest.zip -d rainloop Set permissions. cd /var/www/html/rainloop find . -type d -exec chmod 755 {} ; find . -type f -exec chmod 644 {} ; chown -R webapps:webapps . Configuration Update DirectAdmin to use RainLoop. nano /usr/local/directadmin/conf/directadmin.conf […]
To update DirectAdmin, you need to have Root (sudo) permissions. First, update the system itself: For Debian/Ubuntu: apt-get update && apt-get dist-upgrade For RedHat/CentOS: yum update Update the custombuild software list: DirectAdmin comes with custombuild which is the update manager in this case. First we want to navigate to the custombuild directory: cd /usr/local/directadmin/custombuild/ We […]
In the Statistics menu, click on the designated domain name to open Webalizer. Please note that your site must be around for 24 hours and have some logging activity before Webalizer statistics can become active. On the first Webalizer screen, you will see a graph (as above) and a graph of months in a table […]
Creating a new leaflet is very easy. First, you look at which directory you want the new folder in. For example, if you want to create http://www.domeinnaam.com/news/, you would have to go to the public_html directory. Then type in the folder name at the bottom of the screen and click the “Create” key. Please note […]
Here is an example how to force no-www domain on Servepilot VPS servers with Nginx. Create /etc/nginx-sp/vhosts.d/servermeister.d/0www_redirect.conf with code that will force all www pages 301 redirect to a naked no-www domain. Code: if ($host ~* www.servermeister.com$) { return 301 http://www.servermeister.nl$request_uri; } restart nginx with the command Code: sudo service nginx-sp restart If you would […]
Next to each subdomain name is a “Stats” link (see picture above). This link will load Webalizer statistics. Please note that for the link to work, (1) your subdomain must have some traffic (at least one hit) and (2) your subdomain must be more than one day old. Until these requirements are met, the “Stats” […]