By dragonSam
Had setup LAMP server on Ubuntu 16.04, my application is supposed to receive request from a server in Kenya. Whenever the server in Kenya sends request at my sever, then I don’t receive any request and on their side they get error: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Can anyone help what is the reason?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @dragonSam
Most likely address they are using in Kenya is wrong. Check the full address again and paste it again in the Kenya server.
If you’re using a domain, then make sure there is no hosts changes.
Run ping yourdomain.com on your computer and on the Kenya server. IP should be the same.
If there’s a login system, then that could be causing the issue. Try visiting the address with a browser in incognito mode.
This comment has been deleted
Hi @hansen
I appreciate that you took time to reply. I tried what you have suggested, but still issue not resolved. I forgot to provide the error which is generated on Kenya server. Have a look, might help in getting things clear.
Here is error and the response Kenya server is receiving:
2017-07-24 12:39:42|ERROR|response|SOAP|validation|NewTest|SAG:10.5.38.40|504021500931707241239429507002||60027|A service error occurred. Maybe http message illegal or analyse failed!|888777|888777000|OA:,DA:254713167623|2017-07-24 12:39:42|NodeInfo=NodeType:20,NodeID:1;TransType=Pay Bill;TransID=LGO319BAUR;BusinessShortCode=902026;internal_errorcode=60027;internal_errordesc=A service error occurred. Maybe http message illegal or analyse failed!;apiid=0| Content=0001050b:SA receive validation response message[sessionID:871] from NewTest[104.131.77.15] failed! Cost time : 221 ms.
HTTP/1.1 404 Not Found Content-Type: text/html Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET Date: Mon, 24 Jul 2017 09:38:49 GMT Connection: close Content-Length: 1245
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=“http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”/> <title>404 - File or directory not found.</title> <style type=“text/css”> </style> </head> <body> <div id=“header”><h1>Server Error</h1></div> <div id=“content”> <div class=“content-container”><fieldset> <h2>404 - File or directory not found.</h2> <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div> </div> </body>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.