Pegasus Posted August 26, 2007 Share Posted August 26, 2007 Hi, i have a problem with apache ... its probably a silly one .. but i wudn no cuz im a newbie...so herez my problem: I installed apache 2.2 and everythin seems to be ok, I can access my site and everythin' but sumthin' weird is goin' on ... my server is only accessible by the ppl on the same connection (same network), (same ISP) as mine.... and itz not accessible by any other connections!! sum say my ISP might be blockin' port 80 ... but I dun think thats the case! I use a Wireless LAN connection, I have 2 IP addresses: Internal and external I believe.... I'm on WinXP SP2 the most confusing part is the IPs cuz i dunno which one 2 use as my 'ServerName' and 'NameVirtualHost'... Any help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
trq Posted August 26, 2007 Share Posted August 26, 2007 Your host configuration should look something like... NameVirtualHost * <VirtualHost "youripgoeshere"> # more stuff </VirtualHost> It could very well be however that your ISP or even your firewall blocks port 80. Can we see the relevant parts (ie your VirtualHost) of your httpd.conf file? Quote Link to comment Share on other sites More sharing options...
Pegasus Posted August 26, 2007 Author Share Posted August 26, 2007 thanx for reply... My firewall is set to OFF .. herez an i.e of my VirtualHosts: NameVirtualHost MyIP:80 <VirtualHost *:80> ServerAdmin MyEmail DocumentRoot G:/www ServerName www.mydomain.com ServerAlias www.dummy-host.localhost ErrorLog logs/dummy-host.localhost-error_log CustomLog logs/dummy-host.localhost-access_log common </VirtualHost> Quote Link to comment Share on other sites More sharing options...
trq Posted August 26, 2007 Share Posted August 26, 2007 Change it too... NameVirtualHost * <VirtualHost *> ServerAdmin MyEmail DocumentRoot G:/www ServerName www.mydomain.com ServerAlias www.dummy-host.localhost ServerAlias YOUR.IP.GOES.HERE ErrorLog logs/dummy-host.localhost-error_log CustomLog logs/dummy-host.localhost-access_log common </VirtualHost> then restart Apache. Notice the extra ServerAlias? Quote Link to comment Share on other sites More sharing options...
Pegasus Posted August 26, 2007 Author Share Posted August 26, 2007 Still doesn't work ... as I said i have a static IP, an Internal and an external one... and I'm not sure which one 2 use! ... ur solution didn work with the static one... Quote Link to comment Share on other sites More sharing options...
schme16 Posted August 26, 2007 Share Posted August 26, 2007 Most leading brands of wireless and wired DSL modems are by default set to block off traffic from outside entering in on that port (80) as well as many others... if you say the brad and model I may be able to help you somewhat as I've had to overcome this problem in a few of my modems.. (usually you computers firewall would just set it as rule anyway so its not the leading problem...its the modems internal firewaller and port restricter...) 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.