Category: How to

How to Reference guide for all

Software Development 0

Setting permanent 301 redirect via .htaccess

Redirect individual files To redirect individual files, like example.com/oldfile.htm to newfile.htm you can use a 301 redirect like this

To redirect one specific file to another domain such as example.com/oldfile.htm to example.net/newfile.htm, you need to add the full URL with the domain name.

Redirect an old domain to a new domain If you have a new domain and want to preserve the traffic and SEO of the old domain, you can write a domain wide redirect. This will tell the browser and the spiders “Hey, I moved to a new address, please update my address on your address...

Server Management 1

YUM: Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Have you ever ecounter this error “Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast”?

If you are running a server that was not able ti connect to an active repository server for weeks, that error will prompt about an outdated repository entries. This can be solved by purging the “yum data”

Digital sign your email with DKIM 4

Digitally Sign Your Email with DKIM

Digitally sign your email with DKIM (DomainKeys Identified Mail) and help prevent email spoofing on your side. DKIM adds a private key which stays in your server and a public key that stays in your DNS record. The outgoing email header that you send gets encrypted and the recipient servers then retrieve the public key to decrypt the incoming headers and verify that the messages really comes from your domain and was not altered while it is on transit.

CentOS - Community Powered Operating System 0

Save Bandwidth Using Delta RPM

“What are Delta RPMs anyway?”. Linux OS providers have come up of a way to save bandwidth when installing or updating your Linux packages/programs. One of the answers are Delta RPMs. A Delta RPM basically collects the difference from the old RPM (packages on your computer) from the one available on the repository and only downloads the correct RPM stripped down to the exact changes.

Wordpress multi site using subdomain 0

Setup WordPress Multiple Site Using Subdomains on VIrtualmin

I keep on seeing a few multi-site Wordpress installation using a sub directory but a few have a multi-site using a subdomain. Firing up curiosity, I tried installing a one using subdomains instead.

This guide will teach you the easy way to do things using virtualmin.