Installing Lets Encrypt SSL cert through Virtualmin

This guide seemed to work well and the cert is live on sciencefactoryhawaii.com – will see in 2 months if the auto renew works properly.   https://www.100tb.com/blog/using-lets-encrypt-with-virtualmin/  

Published
Categorized as VPS, Webdev

Really nice touch enabled image carousel with pinch to zoom

https://github.com/SunboX/ST2_ImageViewer Demo: http://sunbox.github.io/ST2_ImageViewer/demo/ImageCarousel/ Edit – May only work in Chrome – no extensive testing done – but does not start properly in IE or Firefox on windows. Desktop and Android mobile version of Chrome seem to work perfectly.

Apache server-status – Allow localhost only

To prevent wordpress from trying to serve the server-status page local .htaccess file : # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # rewrite rule for server-status to prevent 404 error RewriteCond %{REQUEST_URI} !=/server-status RewriteRule . /index.php [L] # END WordPress To enable local access in… Continue reading Apache server-status – Allow localhost only

Missing WordPress Icons on two domain website caused by Cross-Origin Resource Sharing policy

Ahh missing fonts and icons and such caused by two domain names on one site.. This particular instance involved using Polylang plugin and one domain for each language accomplished by a second domain alias, which confused the server into denying access from the secondary language site to the font files. “has been blocked from loading… Continue reading Missing WordPress Icons on two domain website caused by Cross-Origin Resource Sharing policy

Published
Categorized as WordPress

WordPress Multi-Language site with two domain names and Virtualmin

Install Polylang plugin Follow instructions to add 2 or more languages In settings>languages>settings tab choose the option “The language is set from different domains” In Virtualmin select your master site domain and choose “create virtual server” then “alias of current domain” should work ūüėČ

Published
Categorized as WordPress

WordPress Query Monitor Plugin – Debug admin pages not responsive issue

This great plugin https://wordpress.org/plugins/query-monitor/ helped me solve a problem where only the admin side of my wordpress site was non responsive – first it would give me a request timeout error. – increased the PHP timeout limit – admin pages load but it took 45 seconds or so to load a new page – suspect… Continue reading WordPress Query Monitor Plugin – Debug admin pages not responsive issue

Webmin / Virtualmin Server Migration

IPv4 changover is almost automatic, IPV6 must be changed by using the: Virtualmin > Addresses and Networking > Change IP Address Рenter in the old IPV6 adress in the box of servers to change, and the new one below it. 

Hostgator(shared) vs DigitalOcean vs Linode – with PHP benchmark

Hostgator shared hosting plan – what I am moving away form: Putting Host Gator in here is not a very fair comparison because I was on their shared hosting plan, not their VPS plan which would be $40 a month.. ————————————– | PHP BENCHMARK SCRIPT | ————————————– Start : 2014-08-21 01:38:29 Server : ~~~~~~~~~ PHP… Continue reading Hostgator(shared) vs DigitalOcean vs Linode – with PHP benchmark

Webserver Hints :)

PHP Not able to save files – PHP running as wrong user:¬†inside /etc/apache2/mods-enabledphp7.0.conf – delete¬†sethandler application/x-httpd-php etc so that the per server settings inside the users home folder can take effect. Also apache2.conf in the apache2 folder may have these lines. Virtualmin Specific Fixing file permissions for virtual servers on virtualmin:¬†go into Limits and Validation(bottom… Continue reading Webserver Hints ūüôā

Published
Categorized as Webdev

PRTG Network monitor

– You can use PRTG to monitor SNMP capable access points and many other web enabled devices remotely. Creates a local install on windows which can be logged into remotely or even send you email alerts if something goes wrong. http://www.paessler.com/prtg You can also get 30 sensors for free vs only 10 for the normal… Continue reading PRTG Network monitor

wp-admin cant login issue with google chrome

If I click on the “Site Admin” link in the Meta widget on this wordpress install in chrome on this laptop it goes to a redirect loop and never actually logs in as explained here: http://productforums.google.com/forum/#!topic/chrome/kzYekzU1pMk I was able to identify the issue. ¬†When visiting¬†site.com/wp-admin¬†the url is opening the following. http://www.site.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.site.com%2Fsite%2Fwp-admin%2F&reauth=1 Which in effect is… Continue reading wp-admin cant login issue with google chrome

Published
Categorized as WordPress