linux - wget within the server not working -


i can download file outside server using wget,

wget http://domainname.com/test.php

http request sent, awaiting response... 200 ok length: unspecified [application/octet-stream] saving to: `test.php' 

but when try download same file within server,

http request sent, awaiting response... 404 not found 2014-04-26 03:24:32 error 404: not found. 

i can understand domain resolves ip , goes default path & showing 404.

is there option wget stop domain resolves ip.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -