After upgrading Cpanel server, i got following error when rebuilding httpd.conf server20.hostonnet.com is the hostname for the server. To fix, you need to edit the file /var/cpanel/userdata/nobody/server20.hostonnet.com Add At the end of the file. Once edited, file will look like
In Cpanel Server, resellers and privileges are stored in file Content of the file look like To get list of all reseller user names, use cut command.
When i transfer some sites from one server to another using Cpanel WHM > Transfer Tool, restore failed with following error The error was I checked the Cpanel user file on source server (/var/cpanel/users/USERNAME), it was present and dont see
To see current timezone, run To set timezone to UTC, run To See all available timezones, run
To redirect web site to SSL using .htaccess, create .htaccess file with following content. For blog.hostonnet.com, i use following .htaccess
Browsing over normal internet connection is not safe as network traffic is sent as pain text (no encryption). If anyone decided to get your password, they can by monitoring your traffic. This is important if you are using sites that
To select Cpanel version, enable automatic update, go to WHM Home > Server Configuration > Update Preferences I use following settins
To set time in Cpanel server, go to Home > Server Configuration > Server Time It is better set time to UTC as it will be able to handle timezones properly.
fabric is a tool for system administration/DevOps. It allows you to manage multiple servers with single command. You can find more information about fabric at http://www.fabfile.org/ fabric work over SSH, using SSH Keys. No special software needed to be install
lftp is a command line FTP program. Download All Content of a Website Lets say we want to download all content of web site client-website.com, run following commands Now we have all web site files on our computer. Upload All