battlebot Posted December 11, 2008 Share Posted December 11, 2008 Hi guys. When people mouse over links on our site the browser status bar shows the ip address instead of the domain name. How can i fix this in php or can the code be altered to not show anything? IIS 5, Mysql, Php Latest version, phpbb 3.02 Here's the link so you can see http://www.ghostadventures.net Thanks for the help Quote Link to comment Share on other sites More sharing options...
Caesar Posted December 11, 2008 Share Posted December 11, 2008 phpBB is using whatever the site/IP is in the settings. To change it to domain, simply login to your phpBB admin and edit the main settings. That's it. Also...not a PHP programming question :-P Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 11, 2008 Share Posted December 11, 2008 why is your site just an IFRAME of http://68.47.40.219/ ???? Quote Link to comment Share on other sites More sharing options...
gevans Posted December 11, 2008 Share Posted December 11, 2008 your using frames. did you set these up? if so change the src from the ip to your domain Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 11, 2008 Share Posted December 11, 2008 do you own the site at 68.47.40.219 ? Quote Link to comment Share on other sites More sharing options...
battlebot Posted December 11, 2008 Author Share Posted December 11, 2008 Sorry, i thought since the sites run on php it was a php problem and question. Yes i own the site, ip address and server it's on. No ip address is used in the admin section of the board only the domain name. Server is behind router. Im at a loss. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 11, 2008 Share Posted December 11, 2008 the way you have everything setup is: -you have ghostadventures.net, which points to a webserver running at 64.202.189.170 -64.202.189.170 has a webserver, where the index page is a small file, with an iframe -that iframe points to the real site at 68.47.40.219 (which i assume is a computer at your home) you need to configure your domain name to point directly to 68.47.40.219 or just move the entire site to 64.202.189.170 Quote Link to comment Share on other sites More sharing options...
battlebot Posted December 11, 2008 Author Share Posted December 11, 2008 The server is in a server room shared by 4 other servers in an office each with it's own ip address. The domain name is forwarded to the ip address of the forum server by the DNS hosting company. The forwarded ip address is masked. The server is behind a router. Contacted them they said the problem was in the coding on the server end. Which i assumed must be a php problem. Guess not. Quote Link to comment Share on other sites More sharing options...
bluesoul Posted December 11, 2008 Share Posted December 11, 2008 the way you have everything setup is: -you have ghostadventures.net, which points to a webserver running at 64.202.189.170 -64.202.189.170 has a webserver, where the index page is a small file, with an iframe -that iframe points to the real site at 68.47.40.219 (which i assume is a computer at your home) you need to configure your domain name to point directly to 68.47.40.219 or just move the entire site to 64.202.189.170 This sounds right to me. Ask whoever hosts ghostadventures.net to add an A record in their DNS pointing to 68.47.40.219. phpBB uses relative locations, not absolute, so if it starts with an IP it'll stay with an IP. Get your DNS straight and you'll be fine. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 11, 2008 Share Posted December 11, 2008 where is the file with the iframe located? the source of http://www.ghostadventures.net/ is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Ghost Adventures </title> <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums"> </head> <frameset rows="100%,*" border="0"> <frame src="http://68.47.40.219" frameborder="0" /> <frame frameborder="0" noresize /> </frameset> <!-- pageok --> <!-- 05 --> <!-- 7.9--> </html> Quote Link to comment Share on other sites More sharing options...
battlebot Posted December 11, 2008 Author Share Posted December 11, 2008 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Ghost Adventures </title> <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums"> </head> <frameset rows="100%,*" border="0"> <frame src="http://68.47.40.219" frameborder="0" /> <frame frameborder="0" noresize /> </frameset> <!-- pageok --> <!-- 05 --> <!-- 7.9--> </html> I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere. Quote Link to comment Share on other sites More sharing options...
premiso Posted December 11, 2008 Share Posted December 11, 2008 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Ghost Adventures </title> <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums"> </head> <frameset rows="100%,*" border="0"> <frame src="http://68.47.40.219" frameborder="0" /> <frame frameborder="0" noresize /> </frameset> <!-- pageok --> <!-- 05 --> <!-- 7.9--> </html> I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere. This is a common problem when you just switched to a new domain or just installed the domain, due to the DNS records. Did that happen? Quote Link to comment Share on other sites More sharing options...
battlebot Posted December 11, 2008 Author Share Posted December 11, 2008 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Ghost Adventures </title> <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums"> </head> <frameset rows="100%,*" border="0"> <frame src="http://68.47.40.219" frameborder="0" /> <frame frameborder="0" noresize /> </frameset> <!-- pageok --> <!-- 05 --> <!-- 7.9--> </html> I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere. This is a common problem when you just switched to a new domain or just installed the domain, due to the DNS records. Did that happen? Ok guys we figured out what's happening. The META name key words and content are coming from the domain hosting company because one of our other administrators put those keywords in the DNS manager header option with the DNS hosting comany. It's a DNS problem somewhere. Their DNS servers are sending the address for some reason. Thanks for all the help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.