Jump to content

Recommended Posts

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.

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?

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>

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?

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...)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.