🇮🇳India prabhakarb
Encountered the same issue, tried couple of above solutions, not resolved. But finally realized that I must check the htaccess file. I uncommented the bellow line and cleared the cache. Surprise its started working as expected.
# uncomment the following line:
RewriteBase /
Note: vhosts configuration is enabled on my Devbox.