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

Need to be able to force a different IP than the DNS for a server. #20

Closed
gnarf opened this issue Sep 29, 2014 · 1 comment
Closed

Need to be able to force a different IP than the DNS for a server. #20

gnarf opened this issue Sep 29, 2014 · 1 comment

Comments

@gnarf
Copy link

gnarf commented Sep 29, 2014

Rather than overriding /etc/hosts on machines, if the target WordPress install is behind a firewall, it's harder to get xmlrpc working cleanly.

It would be nice to be able to offer an alternate hostname/ip than what DNS would provide I.E.:

{
  "url": "jquery.com",
  "host": "internal-private-server.jquery.com"
}
@gnarf
Copy link
Author

gnarf commented Sep 29, 2014

In this example, it should connect to internal-private-server.jquery.com but send a Host: jquery.com header.

scottgonzalez added a commit to scottgonzalez/node-wordpress that referenced this issue Sep 30, 2014
A host can now be specified in addition to the url to connect to a different
server without overriding DNS.

Ref scottgonzalez/grunt-wordpress#20
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

1 participant