Main Page | Report this Page
Linux Forum Index  »  Linux Networking  »  apache not showing name in address bar
Page 1 of 1    

apache not showing name in address bar

Author Message
Guest
Posted: Sun Feb 13, 2005 1:48 pm
I am running mandrake 10.1 and apache 2.0.48

The computer (192.168.2.100) is connected to a netgear router
(192.168.1.1) and the netgear router is forwarding all port 80 requests
to 192.168.2.100. All of this is connected to the internet with a
comcast cable modem.


Here is my problem....

I have a registered domain name through godaddy.com 'chuckdomain.net'
and it is set up to point www.chuckdomain.net to my cable modems ip
address. From outside of my network, if i type in www.chuckdomain.net
into the address bar, I am forwarded to my webpage, but the address bar
shows the IP address instead of www.chuckdomain.net.

I dont know if I have something missconfigured, or if comcast is
somehow blocking this...

Here are some of my settings..

/etc/hosts
------------
127.0.0.1 localhost
192.168.1.100 www.chuckdomain.net www


/etc/resolv.conf
----------------
search chuckdomain.net
nameserver (comcast nameserver ip 1)
nameserver (comcast nameserver ip 2)


/etc/nsswitch.conf
----------------
hosts files nisplus nis dns




httpd.conf
-----------
Servername www.chuckdomain.net:80
UseCanonicalName Off
(all the virtualhost stuff is commented out)



Any ideas????

Thanks
 
Guest
Posted: Sun Feb 13, 2005 2:08 pm
typo.....

the netgear ip address is 192.168.2.1

all the subnets are 192.168.2.

also the /etc/hosts file ip is 192.168.2.100
 
David Efflandt
Posted: Sun Feb 13, 2005 4:29 pm
Guest
On 13 Feb 2005 10:48:44 -0800, czepp25@gmail.com <czepp25@gmail.com> wrote:
Quote:
I am running mandrake 10.1 and apache 2.0.48

The computer (192.168.2.100) is connected to a netgear router
(192.168.1.1) and the netgear router is forwarding all port 80 requests
to 192.168.2.100. All of this is connected to the internet with a
comcast cable modem.


Here is my problem....

I have a registered domain name through godaddy.com 'chuckdomain.net'
and it is set up to point www.chuckdomain.net to my cable modems ip
address. From outside of my network, if i type in www.chuckdomain.net
into the address bar, I am forwarded to my webpage, but the address bar
shows the IP address instead of www.chuckdomain.net.

I dont know if I have something missconfigured, or if comcast is
somehow blocking this...

There is no whois record or public DNS for chuckdomain.net
(www.chuckdomain.net does not resolve). If that is a dummy name, I can
only guess that "forwarded" means you are using some sort of name to IP
redirection service, which would act like you describe. If you want your
name to show in the browser location bar, the name would need to resolve
to your cable modem IP, instead of a redirection service.

Quote:
Here are some of my settings..

/etc/hosts
------------
127.0.0.1 localhost
192.168.1.100 www.chuckdomain.net www


/etc/resolv.conf
----------------
search chuckdomain.net
nameserver (comcast nameserver ip 1)
nameserver (comcast nameserver ip 2)


/etc/nsswitch.conf
----------------
hosts files nisplus nis dns




httpd.conf
-----------
Servername www.chuckdomain.net:80
UseCanonicalName Off
(all the virtualhost stuff is commented out)



Any ideas????

Thanks



--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
 
Guest
Posted: Sun Feb 13, 2005 9:58 pm
actual domain name is czepp.com
 
Keith Keller
Posted: Sun Feb 13, 2005 11:31 pm
Guest
On 2005-02-14, czepp25@gmail.com <czepp25@gmail.com> wrote:
Quote:
actual domain name is czepp.com

Look at the output of

host czepp.com

I bet none of those IP addresses are your cable modem IP. Thus you need
to re-read David's response, and either fix your DNS or live with the
browser (not apache!) not showing your DNS name in its address bar.

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Thu Mar 18, 2010 8:51 am