I'm currently working on a fresh Wordpress installation and I'm having problems with my permalinks. My home page works fine, and my other pages work when I use the default permalink settting. But they return a 404 error when I try to use the Post Name setting.
I went through as many of the steps on this Codex page that I understood: https://codex.wordpress.org/Using_Permalinks and I'm still having problems.
I've made sure that I have a mod_rewrite module in my .htaccess file, I've updated my apache2.conf file to make AllowOverride All in both my root Directory and my /var/www/html Directory. I've restarted my server every time.
Am I missing something stupid?