You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by faisal gillani <fa...@yahoo.com> on 2003/02/27 08:52:09 UTC

[users@httpd] ipaddress coming in address baaar

Well here is my senario ..
i took an dsk connection  , my isp gave me a fix ip
address of internet which is on the interface of a dsl
router .
so then i configured the external interface of my
router to faward all port 80 traffic to internel web
server on my private ip address ..
the internal webserver runs 2 web sites an internal
website for clients  & one external which is the
portfolio of our company .
the default website is the internal website & external
website is running as a virtual host .
then @ last i registered my ip to a domian name .
but now when ever anyone  type my internet domain name
my ip address comes in the address baar ...

why is that ?

you can also see http://clickonlinenetworks.com 

plz help me out & this is not looking pretty 
thankx


=====
*��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by faisal gillani <fa...@yahoo.com>.
ok thankx zac & Nikunj 

ill work on it 
thankx

--- Nikunj Virani <ni...@netsurf.co.in> wrote:
> Yeap.
> 
> www.clickonlinenetworks.com points to  66.150.5.36
> and not ur 202.141.227.6.
> Either change your DNS to point to 202.141.227.6 or
> change the redirection
> as Zac said.
> 
> Regards,
> --Nikunj
> 
> 
> 
>
---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
*��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by Nikunj Virani <ni...@netsurf.co.in>.
Yeap.

www.clickonlinenetworks.com points to  66.150.5.36 and not ur 202.141.227.6.
Either change your DNS to point to 202.141.227.6 or change the redirection
as Zac said.

Regards,
--Nikunj



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by Zac Stevens <zt...@cryptocracy.com>.
On Wed, Feb 26, 2003 at 11:52:09PM -0800, faisal gillani wrote:
> then @ last i registered my ip to a domian name .
> but now when ever anyone  type my internet domain name
> my ip address comes in the address baar ...

The problem is that your address www.clickonlinenetworks.com does not
really point to your IP address - it points at a website which then sends a
redirect to your IP address.

This is why the browser shows your IP address in the Location bar.

You will need to talk to the people managing your domain name and ask them
to point www.clickonlinenetworks.com to 202.141.227.6 - your IP address.


Zac

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by faisal gillani <fa...@yahoo.com>.
Nikunj thankx a lot for helping me out 
 i did wat you told me ... but still i am not getting
the results ... u see your self 
http://www.clickonlinenetworks.com

here is wat i did 

<VirtualHost 202.141.227.6:80>
	ServerAdmin clickadmin@msn.com
	DocumentRoot "D:/owebsite"
	ServerName clickonlineNetworks.com
	ServerAlias www.clickonlinenetworks.com
	ErrorLog logs/owebsiteerror.log
	CustomLog logs/owebsiteaccess.log common
	
</VirtualHost>

thankx again







---  Virani <ni...@netsurf.co.in> wrote:
> Hello Faisal,
> 
> You need Sitealias in the virtualhost listening on
> <VirtualHost
> 202.141.227.6:80>. Please change  <VirtualHost
> 192.168.1.3:80> to
> <VirtualHost 202.141.227.6:80>. I hope that will
> solve the problem
> 
> Regards,
> Nikunj
> 
> 
> 
> 
>
---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
*��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by Nikunj Virani <ni...@netsurf.co.in>.
Hello Faisal,

You need Sitealias in the virtualhost listening on <VirtualHost
202.141.227.6:80>. Please change  <VirtualHost 192.168.1.3:80> to
<VirtualHost 202.141.227.6:80>. I hope that will solve the problem

Regards,
Nikunj




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by faisal gillani <fa...@yahoo.com>.
thanks Nikunjfor helping me out ...
well sitealias is there  you see for your self
<VirtualHost 192.168.1.3:80>
	ServerAdmin clickadmin@msn.com
	DocumentRoot "D:/owebsite"
	ServerName clickonlineNetworks.com
	ServerAlias www.clickonlinenetworks.com
	ErrorLog logs/owebsiteerror.log
	CustomLog logs/owebsiteaccess.log common
	
</VirtualHost>


tell me wats wrong here

---  Virani <ni...@netsurf.co.in> wrote:
> Sites DNS was pointing correctly to 202.141.227.6
> but there was no
> VirtualHost configured on that IP so it was taking
> the default site of the
> Apache. I guess u have missed one line on
> VirtualHost configurations for
> clickonlinenetworks.com :
> 
> ServerAlias www.clickonlinenetworks.com
> 
> And i think it will start working. U can send me ur
> VirtualHost
> configuration if still its giving problems.
> 
> Regards,
> Nikunj Virani
> ----- Original Message -----
> From: "faisal gillani" <fa...@yahoo.com>
> To: <us...@httpd.apache.org>
> Sent: Thursday, February 27, 2003 3:51 PM
> Subject: Re: [users@httpd] ipaddress coming in
> address baaar
> 
> 
> > thankx for the reply Nikunj
> >
> > but when i did wat you told me .with one diffrence
> i
> > used local ip <VirtualHost 192.168.1.5:80>instead
> of
> > external ip <VirtualHost 202.141.227.6:80>..as it
> was
> > showning my local site that way it is working with
> > http://clickonlinenetworks.com no ipaddress
> > but with www  it is showing ip address wat can be
> > wrong ?
> >
> > i think we are almost there right ?
> >
> >
> > --- Nikunj Virani <ni...@netsurf.co.in> wrote:
> > > It seems u have not configured your virtualHost
> > > correctly. Add a new
> > > VirtualHost in your apache which should be some
> > > thing like this:
> > >
> > > <VirtualHost 202.141.227.6:80>
> > > ServerName clickonlinenetworks.com
> > > ServerAlias www.clickonlinenetworks.com
> > > DocumentRoot /var/www/html/clickonline //Your
> > > DocumentRoot Goes here
> > > </VirtualHost>
> > >
> > > Make the above changes on your httpd.conf. Other
> > > thing to take care:
> > > 1. You should have some thing like this in your
> > > apache:
> > >
> > > Listen 202.141.227.6:80
> > >
> > > 2. If your have multiple websites on the IP then
> u
> > > will need NameVirtuLost
> > > Directive. Some thing like:
> > > NameVirtualHost 202.141.227.6:80
> > >
> > > 3. Restart Apache or reload configuration file.
> > >
> > > Hope this helps!
> > >
> > > Regards,
> > > Nikunj Virani
> > >
> > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > 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@httpd.apache.org
> > >    "   from the digest:
> > > users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail:
> > > users-help@httpd.apache.org
> > >
> >
> >
> > =====
> > *��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
> >
>
---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> users-help@httpd.apache.org
> >
> >
> >
> 
> 
> 
>
---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
*��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by Nikunj Virani <ni...@netsurf.co.in>.
Sites DNS was pointing correctly to 202.141.227.6 but there was no
VirtualHost configured on that IP so it was taking the default site of the
Apache. I guess u have missed one line on VirtualHost configurations for
clickonlinenetworks.com :

ServerAlias www.clickonlinenetworks.com

And i think it will start working. U can send me ur VirtualHost
configuration if still its giving problems.

Regards,
Nikunj Virani
----- Original Message -----
From: "faisal gillani" <fa...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Thursday, February 27, 2003 3:51 PM
Subject: Re: [users@httpd] ipaddress coming in address baaar


> thankx for the reply Nikunj
>
> but when i did wat you told me .with one diffrence i
> used local ip <VirtualHost 192.168.1.5:80>instead of
> external ip <VirtualHost 202.141.227.6:80>..as it was
> showning my local site that way it is working with
> http://clickonlinenetworks.com no ipaddress
> but with www  it is showing ip address wat can be
> wrong ?
>
> i think we are almost there right ?
>
>
> --- Nikunj Virani <ni...@netsurf.co.in> wrote:
> > It seems u have not configured your virtualHost
> > correctly. Add a new
> > VirtualHost in your apache which should be some
> > thing like this:
> >
> > <VirtualHost 202.141.227.6:80>
> > ServerName clickonlinenetworks.com
> > ServerAlias www.clickonlinenetworks.com
> > DocumentRoot /var/www/html/clickonline //Your
> > DocumentRoot Goes here
> > </VirtualHost>
> >
> > Make the above changes on your httpd.conf. Other
> > thing to take care:
> > 1. You should have some thing like this in your
> > apache:
> >
> > Listen 202.141.227.6:80
> >
> > 2. If your have multiple websites on the IP then u
> > will need NameVirtuLost
> > Directive. Some thing like:
> > NameVirtualHost 202.141.227.6:80
> >
> > 3. Restart Apache or reload configuration file.
> >
> > Hope this helps!
> >
> > Regards,
> > Nikunj Virani
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest:
> > users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> >
>
>
> =====
> *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by faisal gillani <fa...@yahoo.com>.
thankx for the reply Nikunj

but when i did wat you told me .with one diffrence i
used local ip <VirtualHost 192.168.1.5:80>instead of
external ip <VirtualHost 202.141.227.6:80>..as it was
showning my local site that way it is working with
http://clickonlinenetworks.com no ipaddress
but with www  it is showing ip address wat can be
wrong ?

i think we are almost there right ?


--- Nikunj Virani <ni...@netsurf.co.in> wrote:
> It seems u have not configured your virtualHost
> correctly. Add a new
> VirtualHost in your apache which should be some
> thing like this:
> 
> <VirtualHost 202.141.227.6:80>
> ServerName clickonlinenetworks.com
> ServerAlias www.clickonlinenetworks.com
> DocumentRoot /var/www/html/clickonline //Your
> DocumentRoot Goes here
> </VirtualHost>
> 
> Make the above changes on your httpd.conf. Other
> thing to take care:
> 1. You should have some thing like this in your
> apache:
> 
> Listen 202.141.227.6:80
> 
> 2. If your have multiple websites on the IP then u
> will need NameVirtuLost
> Directive. Some thing like:
> NameVirtualHost 202.141.227.6:80
> 
> 3. Restart Apache or reload configuration file.
> 
> Hope this helps!
> 
> Regards,
> Nikunj Virani
> 
> 
> 
>
---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
*��., ��,.��*���*� Allah-hu-Akber*��., ��,.��*��*�

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] ipaddress coming in address baaar

Posted by Nikunj Virani <ni...@netsurf.co.in>.
It seems u have not configured your virtualHost correctly. Add a new
VirtualHost in your apache which should be some thing like this:

<VirtualHost 202.141.227.6:80>
ServerName clickonlinenetworks.com
ServerAlias www.clickonlinenetworks.com
DocumentRoot /var/www/html/clickonline //Your DocumentRoot Goes here
</VirtualHost>

Make the above changes on your httpd.conf. Other thing to take care:
1. You should have some thing like this in your apache:

Listen 202.141.227.6:80

2. If your have multiple websites on the IP then u will need NameVirtuLost
Directive. Some thing like:
NameVirtualHost 202.141.227.6:80

3. Restart Apache or reload configuration file.

Hope this helps!

Regards,
Nikunj Virani



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org