Magento 2 : Multiple website setup in localhostCreate Multi Website/Stores in magento 2Magento 2, website redirecting to localhostClone Magento website to localhostHow the “magento setup:store-config:set --base-url” command exactly works?Multi website multi currency setupCan't login on localhost Windows 10Building multi stores with multi domains but get 500Magento Multi Store with multiple domainsVirtual host for magento2 under lampp service for UbuntuHow to give a host name to magento 2 projectmagento 2 installation on MAMP. none of the pages work
Dangerous workplace travelling
How to pass query parameters in URL in Salesforce Summer 19 Release?
Why is my arithmetic with a long long int behaving this way?
Which US defense organization would respond to an invasion like this?
What are the requirements for a river delta to form?
Why would a military not separate its forces into different branches?
Sci-fi/fantasy book - ships on steel runners skating across ice sheets
In "Avengers: Endgame", what does this name refer to?
What happens if I accidentally leave an app running and click "Install Now" in Software Updater?
Motion-trail-like lines
As black, how should one respond to 4. Qe2 by white in the Russian Game, Damiano Variation?
Is it normal for gliders not to have attitude indicators?
Why would one crossvalidate the random state number?
Why aren't nationalizations in Russia described as socialist?
Counting the Number of Real Roots of A Polynomial
Where are the "shires" in the UK?
Page count conversion from single to double-space for submissions
Is there a closed form, or cleaner way of writing this function?
How to remap repeating commands i.e. <number><command>?
Why did WWI include Japan?
Switch Function Not working Properly
Krull dimension of the ring of global sections
no sense/need/point
The origin of list data structure
Magento 2 : Multiple website setup in localhost
Create Multi Website/Stores in magento 2Magento 2, website redirecting to localhostClone Magento website to localhostHow the “magento setup:store-config:set --base-url” command exactly works?Multi website multi currency setupCan't login on localhost Windows 10Building multi stores with multi domains but get 500Magento Multi Store with multiple domainsVirtual host for magento2 under lampp service for UbuntuHow to give a host name to magento 2 projectmagento 2 installation on MAMP. none of the pages work
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10.
I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_apache.html.
Created multi websites in the admin, changed the base url of each website in the configuration (Stores->Configuration->Web) and specified the virtual hosts in the file C:xampp2apacheconfextrahttpd-vhosts.conf
like below attached screenshot
Then specified the base URLs in the host file like follows:
127.0.0.1 french.mysite.mg
127.0.0.1 german.mysite.mg
I restarted the Apache server but none of the created websites are loading. Can you please correct me if I am missing anything?
magento2 localhost multi-website apache windows
add a comment |
I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10.
I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_apache.html.
Created multi websites in the admin, changed the base url of each website in the configuration (Stores->Configuration->Web) and specified the virtual hosts in the file C:xampp2apacheconfextrahttpd-vhosts.conf
like below attached screenshot
Then specified the base URLs in the host file like follows:
127.0.0.1 french.mysite.mg
127.0.0.1 german.mysite.mg
I restarted the Apache server but none of the created websites are loading. Can you please correct me if I am missing anything?
magento2 localhost multi-website apache windows
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02
add a comment |
I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10.
I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_apache.html.
Created multi websites in the admin, changed the base url of each website in the configuration (Stores->Configuration->Web) and specified the virtual hosts in the file C:xampp2apacheconfextrahttpd-vhosts.conf
like below attached screenshot
Then specified the base URLs in the host file like follows:
127.0.0.1 french.mysite.mg
127.0.0.1 german.mysite.mg
I restarted the Apache server but none of the created websites are loading. Can you please correct me if I am missing anything?
magento2 localhost multi-website apache windows
I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10.
I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_apache.html.
Created multi websites in the admin, changed the base url of each website in the configuration (Stores->Configuration->Web) and specified the virtual hosts in the file C:xampp2apacheconfextrahttpd-vhosts.conf
like below attached screenshot
Then specified the base URLs in the host file like follows:
127.0.0.1 french.mysite.mg
127.0.0.1 german.mysite.mg
I restarted the Apache server but none of the created websites are loading. Can you please correct me if I am missing anything?
magento2 localhost multi-website apache windows
magento2 localhost multi-website apache windows
edited Jul 23 '18 at 19:21
ProcessEight
7121417
7121417
asked Jan 18 '17 at 7:25
venkivenki
257
257
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02
add a comment |
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02
add a comment |
2 Answers
2
active
oldest
votes
The reason depends on result you receive trying open website on Store Front.
- Store Front opened with error (5xx, 404) - something with your apache configuration, maybe virtual hosts file is not being read. Check apache access and error logs, it can helps identify the problem.
- Store Front always redirect to base site (mysite.mg) - probably you forget to clean cache
I can't reproduce this case on latest develop branch.
It is important to know Magento version to be able check it as well.
add a comment |
Okay, i was stuck in your situation just like you, and after few time looking on Google, i've found the answer
, only need to clear cache in your project, that's all.
For some one who looking to create virtual host in magento 2, i will put it here:
In C:xamppapacheconfextrahttpd-vhosts.conf
put this:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/magento"
ServerName fudu.magento.net
</VirtualHost>
In C:WindowsSystem32driversetchosts
put this:
127.0.0.1 fudu.magento.net
With fudu.magento.net
is your virtual domain, and DocumentRoot "C:/xampp/htdocs/magento"
is your project folder.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f155227%2fmagento-2-multiple-website-setup-in-localhost%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The reason depends on result you receive trying open website on Store Front.
- Store Front opened with error (5xx, 404) - something with your apache configuration, maybe virtual hosts file is not being read. Check apache access and error logs, it can helps identify the problem.
- Store Front always redirect to base site (mysite.mg) - probably you forget to clean cache
I can't reproduce this case on latest develop branch.
It is important to know Magento version to be able check it as well.
add a comment |
The reason depends on result you receive trying open website on Store Front.
- Store Front opened with error (5xx, 404) - something with your apache configuration, maybe virtual hosts file is not being read. Check apache access and error logs, it can helps identify the problem.
- Store Front always redirect to base site (mysite.mg) - probably you forget to clean cache
I can't reproduce this case on latest develop branch.
It is important to know Magento version to be able check it as well.
add a comment |
The reason depends on result you receive trying open website on Store Front.
- Store Front opened with error (5xx, 404) - something with your apache configuration, maybe virtual hosts file is not being read. Check apache access and error logs, it can helps identify the problem.
- Store Front always redirect to base site (mysite.mg) - probably you forget to clean cache
I can't reproduce this case on latest develop branch.
It is important to know Magento version to be able check it as well.
The reason depends on result you receive trying open website on Store Front.
- Store Front opened with error (5xx, 404) - something with your apache configuration, maybe virtual hosts file is not being read. Check apache access and error logs, it can helps identify the problem.
- Store Front always redirect to base site (mysite.mg) - probably you forget to clean cache
I can't reproduce this case on latest develop branch.
It is important to know Magento version to be able check it as well.
answered Jan 18 '17 at 11:48
yaronishyaronish
67223
67223
add a comment |
add a comment |
Okay, i was stuck in your situation just like you, and after few time looking on Google, i've found the answer
, only need to clear cache in your project, that's all.
For some one who looking to create virtual host in magento 2, i will put it here:
In C:xamppapacheconfextrahttpd-vhosts.conf
put this:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/magento"
ServerName fudu.magento.net
</VirtualHost>
In C:WindowsSystem32driversetchosts
put this:
127.0.0.1 fudu.magento.net
With fudu.magento.net
is your virtual domain, and DocumentRoot "C:/xampp/htdocs/magento"
is your project folder.
add a comment |
Okay, i was stuck in your situation just like you, and after few time looking on Google, i've found the answer
, only need to clear cache in your project, that's all.
For some one who looking to create virtual host in magento 2, i will put it here:
In C:xamppapacheconfextrahttpd-vhosts.conf
put this:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/magento"
ServerName fudu.magento.net
</VirtualHost>
In C:WindowsSystem32driversetchosts
put this:
127.0.0.1 fudu.magento.net
With fudu.magento.net
is your virtual domain, and DocumentRoot "C:/xampp/htdocs/magento"
is your project folder.
add a comment |
Okay, i was stuck in your situation just like you, and after few time looking on Google, i've found the answer
, only need to clear cache in your project, that's all.
For some one who looking to create virtual host in magento 2, i will put it here:
In C:xamppapacheconfextrahttpd-vhosts.conf
put this:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/magento"
ServerName fudu.magento.net
</VirtualHost>
In C:WindowsSystem32driversetchosts
put this:
127.0.0.1 fudu.magento.net
With fudu.magento.net
is your virtual domain, and DocumentRoot "C:/xampp/htdocs/magento"
is your project folder.
Okay, i was stuck in your situation just like you, and after few time looking on Google, i've found the answer
, only need to clear cache in your project, that's all.
For some one who looking to create virtual host in magento 2, i will put it here:
In C:xamppapacheconfextrahttpd-vhosts.conf
put this:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/magento"
ServerName fudu.magento.net
</VirtualHost>
In C:WindowsSystem32driversetchosts
put this:
127.0.0.1 fudu.magento.net
With fudu.magento.net
is your virtual domain, and DocumentRoot "C:/xampp/htdocs/magento"
is your project folder.
answered Aug 22 '18 at 1:54
fudufudu
46014
46014
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f155227%2fmagento-2-multiple-website-setup-in-localhost%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you found any solutions on how to setup multisite on xamp?
– chirag dodia
Jul 11 '17 at 10:42
Did you edit your host file properly?
– gabehou
Oct 25 '17 at 16:16
magento.stackexchange.com/questions/94855/… try this
– Ravindrasinh Zala
Dec 29 '17 at 7:02