Installed Magento 2 on subdomain, front end works, admin panel gives 404

So I’m not sure where I’m going wrong here, I’ve set up everything per the instructions, upgraded and deployed the update via command line, cleaned and flushed the cache, made sure urlrewriting is enabled, set the base urls to the subdomain, .htaccess looks fine, httpd-vhosts is properly configured. Shop.domain.com resolves correctly, but when I attempt to navigate to shop.domain.com/admin-xxxxxx it throws a 404 error. Logs show that Magento is looking for the admin panel in htdocs, which is incorrect, it should be looking in htdocs/shop/ but I can’t seem to find any documentation on where I can change that, and I’m afraid if I do, the front end won’t resolve properly as a result.

I’m also unsure if having WordPress installed on a separate subdomain (which is completely accessible, front and back end) has any bearing on the above issue.

I’m running XAMPP on Windows 10, and reserved 30gb of RAM for XAMPP through Apache’s config (I know Magento works best on a Linux system, I’m unable to migrate due to needing to run AutoDesk software)

Has anyone here run into this issue? If so, how did you end up resolving it?

I’m posting from Android currently, however I’ll be able to post whatever code snippets or configuration files you need to reference on request.

submitted by /u/brother_Kirik
[link] [comments]