Forum Moderators: phranque

Message Too Old, No Replies

how to configure httpd.conf file

server name problem

         

ramzzu

5:07 am on Aug 27, 2005 (gmt 0)



Helo everyone
I have installed Big apache in my computer. I gave a servername and IP address in httpd.conf file. But i can't access from my network computers using that name.
here is what i did
NameVirtualHost 169.254.1407.123:80
<VirtualHost 169.254.107.123:80>
ServerName Mynet
DocumentRoot C:/www/mynet
<Directory "C:/www/mynet">
Options None
AllowOverride All
Order allow, deny
Allow from all
</Directory>
</VirtualHost>

-----------
and i have changed windows host file like this

169.254.107.123 mynet
I can't access using the given servername, but i can access using computer name.
i am using windows 2003 Server
Can u help me please.

ChadSEO

4:27 pm on Aug 29, 2005 (gmt 0)

10+ Year Member



ramzzu,

Welcome to WebmasterWorld!

Is that the actual IP address that your server has? You shouldn't post the actual one, so if it's not, then good job. The only reason I ask is, that's a "my-computer-didn't-get-a-DHCP-address" IP address, which usually indicates something is wrong. If you do an "ipconfig", do you get that same address, or is it different?

From what I can tell, it looks like you're other settings are correct.

Chad

Brett_Tabke

4:41 pm on Aug 29, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Ya, you need your actual ip address as set on the network (not your external ip address, but your network adr)

Something else to try...

ServerName localhost

<VirtualHost 127.0.0.44>
DocumentRoot /www/example/
ServerName www.example.com
</VirtualHost>

hosts:
127.0.0.44 www.fred.com

now just punch a hole in your firewall, and it will respond.