Forum Moderators: phranque
I have developed an application in apache server and i could run the application using "http://localhost:8080/applicationname/pagename" and my friends could access the same application by providing the ip address in the address bar like "http://10.**.**.**:8080/applicationname/pagename".
how can i assign an URL name to the ip address of the server where my application resides in the intranet like "http://myapplication".
Please advice.
Thanks in Advance.
Kevin
If there are only a few users, instead of poking around with DNS definitions, you may just define the name on your server in the /etc/hosts file, and let your friends set up that name in their client hosts files, too:
10.11.22.33 myapplication.
Within your web server's httpd.conf definition, then (if it is the only application) expand the document root by your application path like /document-root/applicationname/pagename
and you should be done.
Regards,
R.