View previous topic :: View next topic |
Author |
Message |
kakakoka Tux's lil' helper
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Mon Jan 31, 2005 10:28 am Post subject: Unable to access my webapps per IP-number (solved) |
|
|
I am currently running a small development server on my works network. Later on this server will run as a small webserver.
The server does not have a dns entry, so I access it per ip number, which works fine for some things like ssh. The server is set up with "mikan" as its hostname.
However when I try to access http://ip number/mediawiki/ (I'm using the actual ip number, but or concealing it here) on the server from windows XP machines the browser tries to do dns lookups for mikan.domainname.dk (again the domain name is concealed), and then fails to load the page as there is no DNS entry in its servers for that page.
What causes this behaviour? It seems to be only XP machines exhibiting this behaviour. Win98 machines does not attempt to get the pages from mikan.domainame.dk, rather it just uses the ip I specify in the adress bar without doing a DNS query (apparently). I'd prefer not having to set up a dns entry for this machine, as I am not in control of the DNS servers and would like not to have to go through the registration procedures for this machine which is unlikely to need a domain name anywhere soon. _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro
Last edited by kakakoka on Mon Feb 07, 2005 12:13 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Jan 31, 2005 4:18 pm Post subject: |
|
|
What is the ServerName set to in the apache config ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Jan 31, 2005 4:46 pm Post subject: Re: Problem with hostname/DNS (mediawiki and phpmyadmin). |
|
|
kakakoka wrote: |
However when I try to access http://ip number/mediawiki/ (I'm using the actual ip number, but or concealing it here) on the server from windows XP machines the browser tries to do dns lookups for mikan.domainname.dk (again the domain name is concealed), and then fails to load the page as there is no DNS entry in its servers for that page.
|
add the entry to your hosts file. in windoze this is likewise to /etc/hosts, but right now i dont recall where it resides. i think in c:\windows or c:\windows\system. |
|
Back to top |
|
|
kakakoka Tux's lil' helper
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Mon Feb 07, 2005 12:11 pm Post subject: |
|
|
Thank you for the replies.
Not setting servername in apache2.conf was what caused the problem.
I set servername to the ip adress, and now my webapps are working. _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|