@abhay First of all, I am a total infrastructure noob, so I might be mistaken…
Having said that, I am missing the following in your virtual host definition:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
When I comment out the lines containing ‘AllowOverride All’ and ‘Require all granted’ I can only access the home page. When accessing a blog item I get the exact same error as on your site.
Do I know what that all does? No, I don’t… I rather read spaghetti code…
Thank you! You’re my hero. The site works now. The configuration I added was:
<Directory /var/www/html/awsm.dvlprz.com>
AllowOverride All
Options MultiViews Includes FollowSymLinks
Order allow,deny
Allow from All
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
Then it worked with the IP address but still not with the URL. Had me stumped. Then I used another computer to test and voila!, the URL worked! That told me there was something specific to my computer. So cleared the DNS cache and still nothing!
Finally I checked the /etc/hosts file and found a long forgotten entry pointing to the old webserver! Something that I should have checked first!
Anyway, thank you for your help. Hope my saga helps someone oneday …
@abhay Be advised that access control in Apache 2.4 has changed. Have a look at the section ‘Access’ in the Apache document Upgrading to 2.4 from 2.2:
2.2 configuration:
Order allow,deny
Allow from all
2.4 configuration:
Require all granted
Forum hints:
To mark a topic as ‘solved’ you can tick the ‘solved’ checkbox at the lower right corner of any reply that lead you to the solution. That way users can see the topic is solved and see which post contains the solution.
Hero’s deserve our love… To show appreciation to a hero you might tick the ‘love’ button too…
Uh no, you cannot give yourself a pat on the back…