How to create website

I have created another website name called submainwebsite in admin side. i have configured all those.

Then i had created a folder within root folder ex: Inside that i have created index.php and .htaccess file.

when i run the site means i am getting like this

can anyone help this.

Thanks in advance.


Go to Admin->Stores->Configuration->General->Web

And set as below

Base URL for Static View Files -> baseUrl/pub/static/

Base URL for User Media Files -> baseUrl/pub/media/

Similar questions

magento keeps redirecting to my production website and not my staging website
I uploaded all the files from my production website to my staging website which is hosted on a server. I then uploaded my entire production DB to my staging server. Additionally, I changed the local xml to reflect the new connection strings. I changed the secure and unsecure urls in the core_config_data table to reflect my staging website URL. It's...
Ups shipping rate variation in magento website and UPS website calculation
I have configured the UPS shipping method in magento with correct details. During checkout, the UPS shipping rates are displayed. But when I compared those shipping rates(Which displayed during checkout) with the UPS site(Calculate Time and Cost) Shipping rate. It varies. It has been configured correctly. But dont know what makes the variation.
Get Website ID from Website Name
As the title says. I don't want the ID of the current website, I want the ID of any website by supplying only that websites name. I have this code: But $siteId ends up empty. If all i have the name of a website, then how can i get its ids?
Get Stores Details by website id in one website - multiple stores scenario
I am working on one website - multiple stores platform. How i can get store details by website id.
Strange redirect after Magento transfer from an old website to new website
I have moved my database and Magento files to my new domain as had problem with my old domain. I have changed the local.xml file to point to the new database and I've changed web/unsecure/base_url and web/secure/base_url in the database and I searched for any other section in the database that had my old domain name. My problem is that if you put m...
Marketplace solution with Multiple website and website specific price for product
I have requirement for developing the marketplace solution where there are more than 500 website store each have common/separate products. Website admin can update the product price for their store or can create the new product. As in magento if there are multiple website and website specific price and if we change the inventory or product price, i...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.