Check MS Exchange autodiscover SRV record with nslookup

Just a simple check to see if a domain has its autodiscover record correctly configured in DNS.

Solve permalinks in WordPress on Ubuntu LAMP

I just moved one of my test sites to a new server. And realized that the permalink structure didnt worked after that. I made sure that the .htaccess files where correct, that mod_rewrite was enabled, but still nothing.

So after some searching i found out that you need to set AllowOverride All in the config for apache.

So, first install mod_rewrite

Then edit the config for your default website.
In Ubuntu 14.04 it is called 000-default.conf.

Paste the following at the bottom of the file (change the directory if you are not using the new default /www/html/ structure(

At last, restart the apache service