let’s say, we want to configure two domains example1.com and example2.com in our server with Centos7 + httpd installation. So we have a dedicated IP…
Knowledge from writing codes and a bit of managing linux servers.
let’s say, we want to configure two domains example1.com and example2.com in our server with Centos7 + httpd installation. So we have a dedicated IP…
A while ago, I stumbled upon working on a bare metal server with LAMP stack installed in it. I have to allow CORS in several…
HTTP Strict Transport Security (HSTS) is an opt-in security enhancement that is specified by a web application through the use of a special response header.…
This is due to the server running SuPHP and the files having higher permissions than allowed, to fix this problem you need to make sure…
You can instruct ssh to try multiple keys in succession when connecting. Here’s how: create a config file in ssh folder:
1 2 3 4 |
$ cat ~/.ssh/config IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa_old IdentityFile ~/.ssh/id_ed25519 |
If an error…
These two days, I am building a website and deploying it on a VPS server which uses CentOS 7. I don’t have cPanel or Plesk…
I’ve spent 2-3 hours pulling my hair trying to setup a supposed to be simple PHP/MySQL web application on an Amazon EC2 instance running on…