John Joseph wrote: > Hi All > Thanks Brad , it worked > I tested with script on my machine and tested from > some other nodes , it worked if I give any Ip > address , but it does not ,if I type the domain names > on the browser > When I give , any IP address , it gives the > default page , but for any domain name it gives page > not found > I am looking for a solution for this , need to > look for the DNS part
It may be that your webhost (the one that serves your instruction page) is looking at the http server header, seeing that the url is not one it knows about and rejecting the request. Which httpd are you using and how is it configured? For example you may have a httpd on 1.2.3.4 that responds to www.google.com and www.apache.org, and it knows what page to present by looking at the browser header, as a request for either www.google.com or www.apache.org will both resolve to 1.2.3.4. If you send a request to 1.2.3.4 for www.yahoo.com the web server knows it does not serve for that domain and will reject the request. Perhaps try with something like micro_httpd and see if it does what you need? or have your httpd respond to * -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/0XFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/dubailug/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
