WebHost, Webserver

  • Thread starter Thread starter John
  • Start date Start date
J

John

I have a webpage hosted on our company own webserver.

On IE 6.0

1. When I type "www.companyname.com" from ourside
company. It show the company webpage correctly.
2. But when I am inside the company and
type "www.companyname.com". It only show error
message "The page cannot be displayed".
3. When I type "http://Internal webserver IP address"
inside company. It show the company webpage correctly.
4. When I type "http://Internal webserver machine name"
inside company. It show the company webpage correctly.

We only have a email server (on another machine) and ftp
server (same machine as Webserver) up running. what is
simply way to make it work? Do have have to have internal
DNS server?

Thanks
John
 
If you do not have an internal DNS server, use a hosts file;

C:\Windows\System32\Drivers\etc\

Edit the hosts file to include this entry:

<Internal IP of web server> www.companyname.com

You will have to do this on every LAN machine from which you want to access
the web page.

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
 
I did on XP pro SP2 and window 98 client machine. they
all do not work. by the way, I run apache server on XP
pro sp2. ip is 172.xx.x.155
 
Double check the hosts file to make sure it was not saved as hosts.txt -
there must be no file extension - it must be plain 'hosts'. Also, run
ipconfig /flushdns on the client machine after every name resolution
failure.

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top