Networking Forums

Networking Forums > Computer Networking > Linux Networking > apache not showing name in address bar

Reply
Thread Tools Display Modes

apache not showing name in address bar

 
 
czepp25@gmail.com
Guest
Posts: n/a

 
      02-13-2005, 05: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

 
Reply With Quote
 
 
 
 
czepp25@gmail.com
Guest
Posts: n/a

 
      02-13-2005, 06: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

 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      02-14-2005, 01:29 AM
On 13 Feb 2005 10:48:44 -0800, (E-Mail Removed) <(E-Mail Removed)> wrote:
> 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.

> 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/
 
Reply With Quote
 
czepp25@gmail.com
Guest
Posts: n/a

 
      02-14-2005, 01:58 AM
actual domain name is czepp.com

 
Reply With Quote
 
Keith Keller
Guest
Posts: n/a

 
      02-14-2005, 03:31 AM
On 2005-02-14, (E-Mail Removed) <(E-Mail Removed)> wrote:
> 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-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing IP address pheasant Wireless Internet 11 07-05-2007 07:50 AM
"ifconfig eth0" command not showing the Gateway address, how can I verify on Linux system? santa19992000@yahoo.com Linux Networking 3 10-16-2005 04:48 PM
Mandrake 10.1 ; apache 2.0.48 ; URL not showing in address bar czepp25@gmail.com Linux Networking 2 02-15-2005 03:48 AM
images not showing up chaserkam Broadband Hardware 1 09-16-2004 03:10 PM
Computer not showing Josh Broadband Hardware 2 01-17-2004 05:14 AM



1 2 3 4 5 6 7 8 9 10 11