If you want to include HSTS (HTTP Strict Transport Security) in your Apache server configuration and not in a specific .htaccess file, you could consider using the "Apache Pre-Main Include" section in WHM. You can reach the "Apache Pre-Main Include" from WHM by following these steps: Log into WHM. In the "Service Configuration" section, select "Apache...
Server Administration
What are the MySQL commands for optimizing a database.
MySQL provides several commands for optimizing a database. Here are some of the most commonly used commands we use to optimize and improve performance in a database: ANALYZE TABLE: This command analyzes the table and updates the table statistics. It helps in optimizing the table and improves the query performance. OPTIMIZE TABLE: This command optimizes the table and...
How to use the SSH find command to find files on your server.
There are several SSH commands that can be used to find files on a server. Here are a few examples: find: This command is used to search for files and directories on a server. Here are some examples of how it can be used: find / -name filename.txt: This command will search for a file named "filename.txt" on the entire server, starting from the root directory (/)....
How to harden your PHP installation on your server.
Most servers run a fairly default configuration with PHP. In addition, there are a lot of bad programming practices that we see. Here are some tips to harden and secure PHP: Keep PHP Updated: Keeping PHP updated to the latest version can help patch security vulnerabilities and reduce the risk of attacks. Use an automated task for this or an industry standard control...
What are the top twenty WordPress CLI commands for managing WordPress
WordPress CLI (Command Line Interface) is a powerful tool for managing WordPress websites via the command line. Some popular WordPress CLI commands include: wp core install: This command installs WordPress on a server. wp core update: This command updates WordPress to the latest version. wp plugin install: This command installs a plugin. wp plugin list: This command...
How to force cPanel to run and process the queue for autossl when it gets stuck.
The following is the SSh command you can run to force cpanel to run the queue for any pending autossl requests that seem to be stuck. In this case we are doing this for Setogi's AutoSSL product that is offered through cPanel. SSH Command: /usr/local/cpanel/bin/autossl_check_cpstore_queue --force Output: (names changed) #Success: Polling for [DOMAIN]'s new...
WP ENGINE (WPENGINE) Discount Coupon codes
Get the best Wordpress hosting for your website - Special offer for FDG Web customers! Use this WPEngine coupon code for 3 free months of hosting on three of their most popular plans. WP Engine Coupon Code Details: Get 3 months free on annual Startup, Growth, and Scale plans by clicking this link (scroll for WP Engine promotion code) Bonus - Get Genesis Framework...
System Administrator & SysAdmin Interview Questions – Sample question and answer.
As outsourced CTO's we often get called on to interview System Administrators on behalf of our clients. The following is a series of questions & potential answers you may find helpful if you are planning to interview someone or in turn be interviewed for such a position. Keep in mind that many of these questions do not have an exact answer - so to help you we've...
What is Configuration Management in Software Development?
What is Configuration Management? Configuration management (CM) is a systems engineering process for establishing and maintaining consistency of a product's performance, functional, and physical attributes with its requirements, design, and operational information throughout its life. Configuration Management Process – where does it fit? Configuration management...
How to redirect all urls and traffic from one domain to another using .htaccess.
Global Redirect of all urls from one domain to another in .htaccess Often we find ourselves needing to redirect all traffic from one domain, no matter what page is hit, to a completely different domain. E.g. www.olddomain.com/whatever.html www.olddomain.com/somethingelse.php www.olddomain.com/anotherthing.htm Would all need to redirect to: www.some-other-domain.com...