Not able to create a Virtual Host on my local machine
Posted by: vishal2811 (112.196.150.---)
Date: December 02, 2017 07:24PM

Hi,

I am using wamp 3.1.0 and using magento 2.2, apache 2.4.27, php 7.0.23 (because magento 2.2 supports that version only out of other available 5.6.31 and 7.1.9), mysql 5.7.19

I tried all of the articles to create a virtual host on my local machine but all in vain and nothing worked. After doing all of the things when I open the url as "mysite.local" it automatically redirects to "[localhost]; while as per my understanding all of the URLs now should be like "[mysite.local];.

Can you please help me where I am doing the mistake?

Thanks in advance.
Vishal

Options: ReplyQuote
Re: Not able to create a Virtual Host on my local machine
Posted by: Otomatic (Moderator)
Date: December 02, 2017 08:11PM

Hi,

First see The need for Virtual Host to understand what are VirtualHost

Then see WAMPServer 3 Create a Virtual Host, the easy way

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 12/02/2017 08:55PM by Otomatic.

Options: ReplyQuote


Sorry, only registered users may post in this forum.