Set up an Apache+PHP+MySQL local environment
Do you want to have a local Apache web server to test your new site? We'll show you how to set up a web server and a MySQL server using XAMPP. XAMPP is a software that will install Apache+PHP+MySQL on…
Do you want to have a local Apache web server to test your new site? We'll show you how to set up a web server and a MySQL server using XAMPP. XAMPP is a software that will install Apache+PHP+MySQL on…
Cron jobs allow you run a command or script on your site at user-defined time intervals. To create a cron job in cPanel: Login to your cPanel accountGo to Cron Jobs (ADVANCED Section)If you want to receive the output of…
Many times you will want to have user-friendly URLs on your site. Instead of https://www.example.com/index.html you will want to have https://www.example.com/index . The second URL looks much better. Also, from the SEO point of view is better to don't use…
To redirect URLs on your site you can use the .htaccess files. We will show you below how to redirect non-www URLs to www URLs and vice versa.To see more info on how to edit .htaccess files via cPanel please…
Do you want to keep a file on your web hosting account private? You can do so by blocking access to it via a rule in the .htaccess file. The steps are: 1. Login to your cPanel account. 2. Go…
Here we will list some very simple commands to start, restart and stop the Apache web server. Of course, you should take care about the stop command as your websites will stop working. For starting Apache use: root@web [/home/admin]# /sbin/service httpd…