I have a problem making xip.io works. I have set up my machine to use virtualhosts with MAMP .local
domain name.
this is my httpd-vhosts.conf file:
NameVirtualHost *:80
UseCanonicalName Off
<VirtualHost *:80>
VirtualDocumentRoot /Users/<myusername>/Sites/%-1/%-2+/build
<Directory "/Users/<myusername>/Sites">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
When I try to access for example http://project.local.<my local ip>.xip.io
it doesn't work while http://project.local
works. How can I fix this?
Also, I have read that the .local
domain on Mac can cause some problems, is this true?