I need to set up different URLs for different subdomains for each web site/store and I'm having trouble locating an effective method of how to do this
I'm using Magento version 2.2.3
Solved! Go to Solution.
Yes you can easily set a different URLs for different domains for each store/website , Magento have native functionality for that.
Kindly follow below steps :
1) Logged in to your magento 2 Admin panel.
2) Go to store -> Configuration -> General Settings -> Web
3) From web you will see URL options , Base URLs options , Base URLs(Secure)
4) Over there Select store from the top of the page you will see store view option dropdown select store from there and add the URLs in Base URL and Base URLs secure .
It will works for you.
No - i guess you have enabled the show store code options.
You just need to add your subdomain name url like - subdomain.domain.com
in to base url and base url secure
You need to select your store from the top of the settings page - and then add your domain to base url and base url (secure)
it will works for you.
Is it true that I was in the wrong place, but the page still does not open, does that mean I have to configure the subdomain in apache?
Yes - From Magento Side - you just need to add sub-domain from here only.
There is no other settings you need to do Rest of the settings you need to do it from server side.