You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rafael Muneton <ra...@yahoo.com> on 2010/04/04 17:54:45 UTC
Re: [users@httpd] Cannot access my first web app(Resolved)
Thank you Erick:
I knew it was something really easy but I couldn't see it.
Setting in the hosts file my Servername ===> rafael.muneton.com along with the IP address ===> 192.168.1.64 solved the problem.
And now it works just fine and very fast.
Thanks again.
Rafael
When everything fails, read the instructions!
--- On Sat, 4/3/10, Eric Covener <co...@gmail.com> wrote:
From: Eric Covener <co...@gmail.com>
Subject: Re: [users@httpd] Cannot access my first web app(partially resolved)
To: users@httpd.apache.org
Date: Saturday, April 3, 2010, 12:44 PM
On Sat, Apr 3, 2010 at 1:35 PM, Rafael Muneton <ra...@yahoo.com> wrote:
>
> Finally I could access my web app from another machine in my local network.
> This is what I did:
>
> In my apache configuration file, I changed the following line,
>
> Before ====> Listen 8080
>
> After ====> Listen 192.168.1.64:8080
>
So something else is listening on port 8080 on some of your interfaces.
> and now I can access my we app by typing,
>
> http://192.168.1.64:8080/cambifon/indice.pl
>
> But I would like to access my app using the servername directive, I mean using something like,
>
> http://rafael.muneton.com:8080/cambifon/indice.pl
>
Your browser will resolve rafael.muneton.com to an IP adddress,
presumably something other than 192.168.1.64. You could mock up your
/etc/hosts file to resolve it that way.
> and it just doesn't work.
DNS lookup fails? Hits another webserver? Connection refused?
> Within my apache configuration file the ServerName directive is set to 'rafael.muneton.com'
> What am I doing wrong?????
> Thanks for your help.
That just tells Apache its own name, it doesn't help your browser find
your webserver.
--
Eric Covener
covener@gmail.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