On Sat, Apr 3, 2010 at 1:35 PM, Rafael Muneton <
rafael_muneton@xxxxxxxxx> 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@xxxxxxxxx---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxFor additional commands, e-mail:
users-help@xxxxxxxxxxxxxxxx