Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config additions for xip.io over LAN #3

Open
benjaminluoma opened this issue Mar 24, 2015 · 1 comment
Open

config additions for xip.io over LAN #3

benjaminluoma opened this issue Mar 24, 2015 · 1 comment

Comments

@benjaminluoma
Copy link

Any thoughts on how to accomplish this? I'm running MAMP Pro and this all works very good on my machine but... it'd be nice to share sites with my colleagues via our local network. Currently this falls to "Sorry, no configuration defined" when hitting MYSITE.local.10.0.1.41.xip.io

@creativecoder
Copy link
Owner

This setup requires that the url and the folder name always be the same, in order for the server to know which folder to find the site in.

The only way I can think of to get this to work on a remote machine is to add to the hosts file on that machine, so that mysite.dev (or whatever local url you use for the site) points to the ip of your machine on the local network. That will allow you to use the same url on both local and remote computers, keeping the ip out of the url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants