Re: im stuck, plz help...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/5/07, Harvey Saayman <HarveySaayman@xxxxxxxxxxxxx> wrote:
hey

well like i said im realy flying blind here... i literaly just changed those
directives in my httpd.conf file and nothing else...

the article i read said 192.168.1.1 is a "safe" ip reserved for testing and
will not be relayed over the internet...

im thinking my internet connection might be the problem...

im on a dail-up connection <sigh> which i get through an internet gateway on
my home network and it seems like my internet ip is not static (it changes
every time i dail). as for the DNS i have no idea even how to set a DNS
server up ...YET...

weve been having problems with our internet gateway which was running on win
XP pro so were in the process of changing the OS to mandreva linux 2007.
when thats done ill probably start using my apache on there...

in the meanwhile i can already connect to the net through my new linux
gateway so ill continue to use apache on my win XP mashine. what do u think
a can do about my problem?

thanx a million for the help

                 HaRvEy SaaymaN
     HarveySaayman@xxxxxxxxxxxxx

       <<---< Chaos reigns within >--->>
<<---< Reflect, repent, and reboot >--->>
         <<---< Order shall return >--->>
----- Original Message -----
From: "Joshua Slive" < joshua@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Saturday, August 04, 2007 6:28 PM
Subject: Re: im stuck, plz help...


> On 8/4/07, Harvey Saayman < HarveySaayman@xxxxxxxxxxxxx> wrote:
>>
>>
>> hi there
>>
>> im new to web hosting so im realy flying blind here
>>
>> im running apache 2.2.4 on win XP and i only changed the following
>> directives in the "httpd.conf" file. the rest of it i left like it was
>> after
>> installation
>>
>>
>>
>>
>> ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
>> Listen 80
>> ServerAdmin HarveySaayman@xxxxxxxxxxxxx
>> ServerName www.PhuckerSoft.org:80
>> DocumentRoot "C:\WWW"
>> <Directory "C:\WWW">
>>        # i didnt change anything in here
>> </Directory>
>> ErrorLog C:\WWW\error.log
>>
>>
>>
>>
>> now the problem is this... according to the article i got off the net on
>> "getting started with apache" the following should let me see my html in
>> my
>> web browser
>>
>> http://www.phuckersoft.org/ - this give me the "page cannot be displayed"
>> error
>> 192.168.1.1 - this redirects me to a search engin, even if i change the
>> Listen directive to 192.168.1.1:80
>> http://LocalHost - this works perfect and displays my html page
>> 127.0.0.1 - this works perfect and displays my html page
>>
>> i feel like im on the right track but im missing some vital part of
>> configuration...
>
> Ignore Graham's suggestion. It has nothing to do with your problem
> since you do not need virtual hosts at all if you are running just one
> website.
>
> Your problem likely isn't an apache problem at all. First, what is the
> IP address of your computer? Is it really 192.168.1.1? Second, does
> www.phuckersoft.org really map to your IP address in DNS (or
> otherwise)?
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL: http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007
> 4:53 PM
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



192.168.x.x is safe because it is considered a private range and is not routable across the internet.  So 192.168.1.1 is fine to use as long as no other computer on your local LAN is using that IP.  However, before apache can use it, your OS has to actually be listening to that address in the first place.  You can go to window's tcp/ip advanced settings and add that address as a secondary IP and Apache should be able to use it.

However, it sounds like you've got an internal network already since you're using a gateway.  Drop to a dos box and type "ipconfig /all" and look to see what your box's internal IP is.  Use that and you should have the same results as 127.0.0.1.

Don't even try to host a site on a dialup, dynamic IP.  You're just wasting your time.

--Victor

--
http://www.victortrac.com
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux