LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2011, 04:26 PM   #1
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
Access my static IP in browser and get DNS lookup?


I'm setting up an Ubuntu machine as a PHP dev workstation. I installed Apache 2 and PHP 5 and MySQL, etc. I've got Eclipse set up so that I can step through PHP scripts run from the command line or via apache. Very exciting.

I have configured it with a static ip address on my LAN (192.168.1.3) so that I can access it from other machines via SSH or browser. When I sit here at the workstation and enter http://192.168.1.3 into a firefox address bar, I expect it to open up the basic index.php file that's in my web root (/var/www/index.php). HOWEVER, It does NOT. The browser redirects to the roadrunner DNS lookup page as though it's trying to locate mbamv3.com.

Mbamv3.com is a non-existent domain which I just made up -- it's not registered or anything. I had this domain briefly in a 301 redirect rule in an apache configuration file while I was setting up but it does not currently live in any apache files or any network configuration files and I cannot for the life of me figure out why firefox would still be redirecting? Is something cached somewhere?
 
Old 02-20-2011, 03:53 AM   #2
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
Smile

There are 3 places I would check:
Have you configured /etc/hosts to map your address to your domain?
Have you allowed access in httpd.conf on the server?
Have you checked your router settings?
and maybe if it works with other browsers but not firefox, I also would type in address bar in firefox 'about :config,
and google about the settings.

Good Luck
 
Old 02-21-2011, 03:59 PM   #3
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Original Poster
Rep: Reputation: 78
Thanks for your response.

I think the browser had cached a 301-redirect from a poorly written virtual host file. I cleared the firefox cache and it worked fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forward DNS lookup to different DNS Servers ghight Linux - Networking 2 09-28-2006 05:54 AM
Slow Browser, probably DNS lookup, Core 5 rdnelson Fedora 2 06-20-2006 11:43 AM
DNS lookup Cabous Linux - Networking 11 07-18-2005 12:36 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
DNS Lookup dilberim82 Linux - Networking 3 05-30-2001 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration