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

Add Nginx rules to allow xip.io usage on default sites #448

Closed
salcode opened this Issue Sep 17, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@salcode
Contributor

salcode commented Sep 17, 2014

When running on my host machine's primary IP address (see #442 and #445), I want to be able to access the sites from other machines on my network using a domain name. xip.io allows this.

What is xip.io

(From their website)
xip.io is a magic domain name that provides wildcard DNS
for any IP address. Say your LAN IP address is 10.0.0.1.
Using xip.io,

          10.0.0.1.xip.io   resolves to   10.0.0.1
      www.10.0.0.1.xip.io   resolves to   10.0.0.1
   mysite.10.0.0.1.xip.io   resolves to   10.0.0.1
  foo.bar.10.0.0.1.xip.io   resolves to   10.0.0.1

What New Rules Would I Like to See

In addition to the current local.wordpress.dev Nginx rule. I'd like to see
local.wordpress.10.0.0.1.xip.io
local.wordpress.127.0.0.1.xip.io
local.wordpress.192.168.14.1.xip.io
local.wordpress.[any IP address].xip.io

@salcode

This comment has been minimized.

Contributor

salcode commented Sep 17, 2014

I've written about my experience with setting this behavior up at http://salferrarello.com/vagrant-vvv-setup-wordpress/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment