Jump to content

apache setup windows 2003 server?


sayedsohail

Recommended Posts

Hi everyone,

 

Just today i installed apache 2 on my windows 2003 server (LAN), on the client if i typed http://192.168.1.1, it shows the index.html file works great.

 

But how do i call the index.html file if the user on the network typed http://localhost in their browser?

 

In my httpd.conf file i changed ServerName localhost, but still on the network, http://localhost doesn't work?

 

Any help is highly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/73359-apache-setup-windows-2003-server/
Share on other sites

You mean to say, i should open the hosts file on windows 2003 server and add

 

192.168.1.1 alpha

 

and than open the httpd.conf and add:

 

<VirtualHost 192.168.1.1>

DocumentRoot "C:\xyz\abc"

ServerName alpha

</VirtualHost>

 

Correct me if i am wrong please. i need this to be working today, so the users can access the files over the network when they type http://alpha in their browsers?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.