cancel
Showing results for 
Search instead for 
Did you mean: 

install Magento to a subdomain

install Magento to a subdomain

Hi, all,

 

I am trying to install Magento 2.3 to a subdomain: https://shop.xxx.com

However, after I installed it and typed the url, the css style and images are messy.

Please see the image. I checked the Chrome Dev console. This happens because chrom could not load some static files. However, I also checked the /var/www/shop folder (the root folder of Magento in my installation). The static files requested by the browser are not there. I am thinking whether I need to write some rewriting rules in the Apache server config file. But I don't know how. Could anyone tell me how to solve this problem? Thanks

messy stylemessy style

1 REPLY 1

Re: install Magento to a subdomain

This has been solved by adding "AllowOverride All" in apache config file.