Re: [users@httpd] Renaming localhost

2016-02-12 Thread Raja
Hi Greg, Thanks for your reply. Yes the apps are driven by LAMP stack. I looked in the /etc/apache2/conf-enabled/ folder and found shortcut files. This one is for apache docs Alias /manual /usr/share/doc/apache2-doc/manual/ Options Indexes FollowSymlinks AllowOverride None Requir

Re: [users@httpd] Renaming localhost

2016-02-11 Thread Greg Rundlett (freephile)
On Wed, Feb 10, 2016 at 4:57 AM, Raja wrote: > Hello, > > I sometimes work in remote sites with no network. I have the same setup > on different machines and I need the server name to know dynamically > where to do changes, etc. > It's not clear to me the situation that you're describing above.

Re: [users@httpd] Renaming localhost

2016-02-10 Thread Raja
Hi Mauricio, Thanks for your reply. I am new to Linux and am still learning. I looked up what IP route tables are on the net and I think you meant the /etc/iproute2/rt_tables which shows; 255 local 254 main 253 default 0 unspec I can ping both localhost and compname but can't

Re: [users@httpd] Renaming localhost

2016-02-10 Thread Raja
Hi Mauricio, Thanks for your reply. I am new to Linux and am still learning. I looked up what IP route tables are on the net and I think you meant the /etc/iproute2/rt_tables which shows; 255 local 254 main 253 default 0 unspec I can ping both localhost and compname but can't r

Re: [users@httpd] Renaming localhost

2016-02-10 Thread Raja
Hi Mauricio, Thanks for your reply. I am new to Linux and am still learning. I looked up what IP route tables are on the net and I think you meant the /etc/iproute2/rt_tables which shows; 255 local 254 main 253 default 0 unspec I can ping both localhost and compname but can't r

Re: [users@httpd] Renaming localhost

2016-02-10 Thread Mauricio Tavares
On Wed, Feb 10, 2016 at 4:57 AM, Raja wrote: > Hello, > > I sometimes work in remote sites with no network. I have the same setup > on different machines and I need the server name to know dynamically > where to do changes, etc. > > I edited /etc/hosts to show > 127.0.0.1 localhost somename > > No

[users@httpd] Renaming localhost

2016-02-10 Thread Raja
Hello, I sometimes work in remote sites with no network. I have the same setup on different machines and I need the server name to know dynamically where to do changes, etc. I edited /etc/hosts to show 127.0.0.1 localhost somename Now, with my Wifi off I am trying `http://somename` and it is no