MACHINE 1 (server): Running XAMPP. When I enter local.mysite.com, it works perfectly, showing the site!
MACHINE 2 (laptop): When I enter local.mysite.com... it shows me the page "XAMPP for Windows" and I want to display the site and not the XAMPP Page
My configuration so far:
MACHINE 1 (server):
http-vhosts.config
- Code: Select all
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot D:/Webserver/
ServerName localhost
</VirtualHost>
<VirtualHost local.mysite.com>
DocumentRoot "D:/Webserver/drupal"
ServerName local.mysite.com
CustomLog "D:/Webserver/mysite.com/logs/local.mysite.com.access.log" combined
ErrorLog "D:/Webserver/mysite.com/logs/local.mysite.com.error.log"
<Directory "D:/Webserver/drupal">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Windows hosts file:
- Code: Select all
127.0.0.1 localhost
::1 localhost
127.0.0.1 local.mysite.com
MACHINE 2 laptop:
Windows hosts file:
- Code: Select all
192.168.1.23 local.mysite.com
I've been trying for hours. I must be missing something. Can someone help?
Thank you very much!